Author Message
AndreasHocke
Joined: Feb 3, 2016
Messages: 6
Offline
Hi,

I have a workflow with a "global" Interrupt event that shall basically clean up the WF when triggered.

The Interrupt event is set to work with criterion "CorrelationKey" and for Correlation Key I have a paramter called WorkrequestID
(and of course Family, Type and Version are also populated)

Question:
How can I trigger that event using Postman ?
Which key/value pairs to I have to put into Postman body to do the job ?

(For a similar task when triggering events for a "Receive" Task that I had to put key/value pair to metadata-correlationId:<instance id>+<task name> when setting the Receive task to "Instance+task" (in addition to family and type key/values))
So I asssume there is a similar tag here when using CorrelationKey)

Regards,
Andy
RajeshChandrashekar
Joined: Oct 27, 2016
Messages: 60
Offline
Hi , as I understand you are trying to resume an event from Postman, which is subscribed from EngagementDesigner(receive task or interrupt event)

So i tested with a simple event, i create the following event in catalog,
Family: custF
EventType: custE
version 1
name: cust
schema JSON
Schema: {
"title":"titlename","type":"object","properties":{"corrId":{"type":"string"}}}



I used this event in receive task as attached image.

Then created an instance of the wfd which has this receive task.

Used postman request as shown in the attached image. The event body on postman is
{ "correlationValue":"12345"   

}

Content-Type: multipart/form-data;

Please let us know if this helps.
  • [Thumb - receive.PNG]
[Disk] Download
  • [Thumb - postman.PNG]
[Disk] Download
Go to:   
Mobile view