Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Everyone, I have a requirement to trigger lifecycle event via an Inbound Action.

aforapple
Tera Contributor

Everyone, I have a requirement to trigger lifecycle event via an Inbound Action.

 

Provided there are lot of IT Tasks to be created that are dependent on outputs of HR tasks created that could be sequential or parallel.

 

What is the best way to achieve the above?

 

Thanks.

Sushma

1 REPLY 1

Its_Azar
Tera Guru
Tera Guru

Hi there @aforapple 

 

let the Inbound Action do only one job: create (or update) the right HR case, and then ouse  Lifecycle Events plus Flow Designer/subflows to orchestrate all the HR and IT tasks with the correct dependencies. Instead of trying to “trigger a lifecycle event” from the Inbound Action, configure your lifecycle event so that it starts automatically when an HR case of a specific HR service is created in the right state; then, in that lifecycle event, use activity sets and flows to define which HR tasks run sequentially and which in parallel, and add logic that, when key HR tasks complete, calls subflows or scripts to create the dependent IT tasks. 

 

☑️ If this helped, please mark it as Helpful or Accept Solution so others can find the answer too.

Kind Regards,

Mohamed Azarudeen Z

Developer @ KPMG