Wait for Event in WF

stevenm
Kilo Guru

I'm trying to execute the items of an order guide in a specific order.  I found this post:  https://community.servicenow.com/community?id=community_question&sys_id=76369129db9aaf004abd5583ca96... in which Chuck mentions a way to do this.  I have most of it working except getting the Wait for Event to execute in the child workflow.  

I have read this:  https://docs.servicenow.com/bundle/jakarta-servicenow-platform/page/administer/workflow-administrati... that seems to indicate that a workflow Create Event is really just a trigger for an email notification.  That I need something different to trigger within workflows.  

So based on what Chuck said, my main workflow needs to create an event that the subsequent workflow will wait for and see.  That's what I've been googling to find for the past 2 hours.  Anyone know where I can find this?

 

1 ACCEPTED SOLUTION
8 REPLIES 8

Did you try workflow.fireEvent('eventName') API call to trigger the event as mentioned in below link?

 

https://docs.servicenow.com/bundle/geneva-servicenow-platform/page/administer/workflow_activities/re...

Yes, this post is what I needed.  Thank you.  Wow was that a lot of searching.  

Not really...I was only searching for threads were Wait for Event was used