Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Events + Message Data Templates

Avatar

Avatar
Validate 1
Level 3
The_Flex_Viking
Level 3

Likes

2 likes

Total Posts

121 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 3
The_Flex_Viking
Level 3

Likes

2 likes

Total Posts

121 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
The_Flex_Viking
Level 3

22-02-2009

I have defined my own versions of the events TaskCreated and TaskComplete in which I specify the XSD Event Message Template so that I can pass "complex" information.



In my event thrower, I ...

* setup an event data map to pass my process instance id

* provide an xml variable as the event message data.



In my event receiver, I have my process data map set up with 3 values.

* assign the process instance id passed in the event data map to a local variable

* assign a particular string element in my event message data (xml) to a local variable.



These both work.



What doesn't work is assigning the entire event message data (xml) to a local process variable of type xml. My local xml process variable is always null.



I don't understand how I can map a single value from within the xml, but I cannot map the entire xml.



Any thoughts?

Replies

Avatar

Avatar
Validate 1
Level 3
The_Flex_Viking
Level 3

Likes

2 likes

Total Posts

121 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 3
The_Flex_Viking
Level 3

Likes

2 likes

Total Posts

121 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
The_Flex_Viking
Level 3

22-02-2009

And if you look at the provided event samples.



In the POCancel event, they specify an event message template which contains "Order" information, but they never use it in the samples.