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
5 replies
Subscribers
6 subscribers
Views
1770 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Hi guys, Just a quick one, if we have a Send Message event and it has
caz
A Score Level 1
over 9 years ago
Hi guys,
Just a quick one, if we have a Send Message event and it has specified a message destination, how can we know which process model this destination node is within?
Thanks,
Caroline
OriginalPostID-149523
OriginalPostID-149523
Discussion posts and replies are publicly visible
0
Josh
Certified Lead Developer
over 9 years ago
In the past I have had to either just start the message node to see what process model gets launched in the process tab or download the application and search the xml. In the xml of the origin process model you can grab the first half (everything before the @) of the mapping labeled "DestinationEventPersistentID" and search for this id in the xml process model folder, your results should include the destination process model xml files.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Josh
Certified Lead Developer
over 9 years ago
*started
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
caz
A Score Level 1
over 9 years ago
Hi Josh, that sounds better than the way I'm doing it, by searching for the destination node name in all the xml in the models folder! I'll give it a go, thanks :)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
caz
A Score Level 1
over 9 years ago
Hi Josh, sorry to ask you another one, but I found this mapping in the xml: <mapping name="DestinationEventPersistentID"><a:value xmlns="" xsi:type="a:Event?list"><item a:id="0000d352-dd74-8000-7bda-760000760000" /></a:value><expression><![CDATA[]]></expression></mapping> but that UUID doesn't seem to be for a PM (or any other object I can search for...), am I in the complete wrong place?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Josh
Certified Lead Developer
over 9 years ago
No problem. I believe the uuid is of the message itself, so it wouldn't be a process model. If you do an xml search for this message uuid you should get that to match the <persistentId> value of the message trigger. This message trigger xml snippet should be located within the process model xml.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel