- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2016 04:18 AM
I have added a wait for condition in the workflow and checking a field value inside the script , this field is getting populated from another REST message call.
In wait for condition, i have made a query to the table which has this field.
Now since the field is getting populated asynch , and if the script executes in wait for condition , and it does not match , it remains at the same running stage, until the workflow is retrigerred.
Is there a way, to retrigger the same halted activity?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2016 05:02 AM
Thanks for your responses.
I have implemented a solution which works fine.
Trigerred the event defined in wait for event activity from the scripted web services using the below code.
new Workflow.broadcastevent(context.sys_id,"event_name").
For workflow, events is identified only through broadcast events and not gs.eventqueue
Eariler i was trying to trigger an event through eventqueue, which though was showing in event logs, did not interacted with event of wait for event activity.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2016 06:35 AM
Hi Ashwani,
Just a little update : the OOB business rule ' SNC - Run parent workflows' is operating on task table.
I don't understand why in your instance it is on global table.
Does the workflow is re-triggered if you put an additional comment in you req_item form?
Kind regards,
ZA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2016 05:02 AM
Thanks for your responses.
I have implemented a solution which works fine.
Trigerred the event defined in wait for event activity from the scripted web services using the below code.
new Workflow.broadcastevent(context.sys_id,"event_name").
For workflow, events is identified only through broadcast events and not gs.eventqueue
Eariler i was trying to trigger an event through eventqueue, which though was showing in event logs, did not interacted with event of wait for event activity.