Trigger custom "Rescind" process

Sriraj V
Tera Contributor

Hi Team,

 

We will not be using the out-of-the-box rescind activity set. Based on HR's decision, we need to trigger the rescind process. I have an 'X' activity set that will be triggered by HR's decision. Within this activity set, I need to include an HR service that needs to trigger rescind process. Please let me know if my approach is incorrect. I plan to create an HR service with a fulfiller activity as a Workflow/Flow to trigger the 'rescindCase' method.

 

Regards,

Sriraj

1 ACCEPTED SOLUTION

@Sriraj V In your custom rescind activity set, you can add an activity which will trigger the flow/subflow. This flow will be responsible for reverting all the changes made with respect to the LE case. Regarding using hr_ActivitySet().rescindCase hr_ActivitySet is an OOTB script include and methods defined inside it will be responsible to trigger OOTB rescind process, since in your case rescind process is going to be completely custom, triggering this method will not yield any result.

View solution in original post

6 REPLIES 6

@Sandeep Rajput , I am refer'ng about custom implementation. As I have mentioned in my query, I have an activity set with some condition to trigger the rescind process. My question is inside that activity set - what i need to do to trigger the rescindflow. 

I plan to create an HR service with a fulfiller activity as a Workflow/Flow to trigger the hr_ActivitySet().rescindCase method. Is this is a correct approach.?

@Sriraj V In your custom rescind activity set, you can add an activity which will trigger the flow/subflow. This flow will be responsible for reverting all the changes made with respect to the LE case. Regarding using hr_ActivitySet().rescindCase hr_ActivitySet is an OOTB script include and methods defined inside it will be responsible to trigger OOTB rescind process, since in your case rescind process is going to be completely custom, triggering this method will not yield any result.