Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
26 replies
Subscribers
5 subscribers
Views
7945 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
16.3 - Sending Message Events to Process Models
PhilB
A Score Level 1
over 7 years ago
The release notes for Appian 16.3 contains the following (
forum.appian.com/.../Appian_Release_Notes.html
Sending Message Events to Process Models
We've deprecated the ability to send messages to process models from the Setup tab in the Send Message Event smart service. Sending message events to process models this way has negative performance impacts.
Use the Start Process Smart Service instead.
The last part implies this is only for start message events, but the body implies it applies to all message events, including intermediate message events. Would someone be able to clarify exactly what is being deprecated? Removing the ability to message process models (and therefore in-flight instances) altogether would be a serious loss of functionality and would place Appian behind its competitors as fa...
OriginalPostID-238470
Discussion posts and replies are publicly visible
0
PhilB
A Score Level 1
over 7 years ago
...r as messaging is concerned.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Stefan Helzle
A Score Level 3
over 7 years ago
You can still target a process instance by its ID. So I think this will not be a real problem for most of us.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
PhilB
A Score Level 1
over 7 years ago
Assuming that's the way the process was built originally, yes - but what about processes that weren't built like that? This change could render those unmaintainable. IMO if something "has negative performance impacts" then the solution should be to fix the underlying issue, rather than deprecate that functionality.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Stefan Helzle
A Score Level 3
over 7 years ago
I agree as the best practices regarding inter-process messaging for the past 5 years is to NOT send messages to all instances of a model but to target instances directly. So I think this will not be a big issue ...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike Schmitt
Certified Lead Developer
over 7 years ago
It still sounds to me like you're conflating "process model" with "process instance". From where I'm sitting, I don't see any implication at all that they're removing the ability to send messages to instances, though maybe you could clarify on what's leading you to that impression?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike Schmitt
Certified Lead Developer
over 7 years ago
Oh, I didn't see stefan's last comment before submitting, but yes maybe the "send message to all running instances" use case is what i'm missing. I've actually never seen this implemented though as it seems pretty risky from a performance standpoint.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
rodgraham
Certified Lead Developer
over 7 years ago
The Start Process Smart Service isn't a replacement for process to process messaging - is it just starting processes via a message that' being deprecated. Sending messages to a process instance is often used to terminate a process.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
PhilB
A Score Level 1
over 7 years ago
@stefan Again, that's fine but it assumes nobody has any processes that use that functionality - I'm not sure we can assume that nobody uses the functionality without knowing everything everyone has ever done, which of course we don't know! It seems a little short-sighted to just suddenly deprecate this functionality.
@mschmitt It can result in performance issues, presumably if there are many instances of a specific model (as described here - https://forum.appian.com/suite/help/16.3/Messaging_Best_Practices.html). However, it is often useful to message a process model and "correlate" on a piece of business data rather than the alternative, which is to implement a process report to reterieve the process IDs and subsequently message each of them individually. I have seen this implemented in a number of projects, and I'm assuming that those clients don't wish to rewrite what would effectively constitute the core architecture of the solution.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Chris
over 7 years ago
This has me nervous as well since we use process to process messaging fairly heavily. We have many many cases where we target instances, but also a very important administrative use case where we message any process waiting by sending directly to the models. Based on my understanding, this is going to be removed?? Our primary use case is around the legacy Query DB node which we have implemented in over 30 processes that connect to 11 different external DBs. When a DB goes down that we don't control (often), we allow the Query DB nodes to continue on error and wait at a receive message event. Once the outage has ended, we run one admin process which sends messages to the models and the node is retried, thus continuing all processes with one click. I don't know if any of you have had the privilege to manually restart 400 process instances one by one, directly ending your productivity for the remainder of the day, but in the 5 years I've been using this I haven't noticed any performance issues that outweigh the massive amount of manual effort and time needed to administrate. If this is functionality is for sure being removed I will be very disappointed, but I'm still not clear on exactly what the plan is here..
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Chris
over 7 years ago
Although it sounds like my case may be ok since we always utilize a Receive Message Event within a Process Model..
• Receive Message Event within a Process Model
• Specific Process
• Specific Process Model [Deprecated]
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
>