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

Sriraj V
Tera Contributor

@Sandeep Rajput , Hi Sandeep - Do you have any inputs on the same. Thank you in advance.

 

Regards,

Sriraj

Sandeep Rajput
Tera Patron
Tera Patron

@Sriraj V Any specific reason why you do not wish to use OOTB rescind activity set? You can chose to use a different activity set and trigger an HR Service/flow via an activity to trigger the custom rescind process. However, I would recommend you to use the OOTB rescind process if there are no valid reasons to choose the custom implementation over the OOTB rescind process.

@Sandeep Rajput Thanks for the reply. How to trigger the rescind process.? I hope I need to trigger this scriptinclude hr_ActivitySet .

Yeah I will suggest to use ootb one to my team.

@Sriraj V If you are referring to the OOTB rescind process then it can be triggered via Rescind UI Action available on the HR case form. If it is about the custom implementation then you can trigger the activity set based on some condition/script.

 

Screenshot 2024-11-26 at 8.37.48 PM.png