My requirement is whenever we call certain RestAPI from UI/Postman, At backend it should trigger JOB that perform several operations/task. Example: Assume some POST Rest API is invoked - It should invoke "Identify-JOB"(performs several activities)- Based on certain condition, It should invoke PLANA-JOB or PLANB-JOB 1> Suppose PLANA-JOB is invoked, on the success of this JOB, it should trigger another JOB called "finish-JOB". On the failure it should not invoke another JOB "finish-JOB"
Can you please help here how can i do this?