HR Task when submitted creates a new HR Case

Andr_1
Tera Contributor

Hello everyone

I am working on my PDI, trying the HR Tasks functionality.

I have the following scenario: 

 

I have a flow to create a new HR Task when a new HR Case is created. This action waits for the assigned to user to submit the task on the portal

Andr_1_0-1700826404723.png

 

When I create a new HR Case... it triggers this flow and a new HR Task is created. So, I will impersonate the assigned to user to submit the task on the employee center portal

Andr_1_1-1700826646528.png

 

After submitting, the HR Task state changes to closed completed...

Andr_1_2-1700826728952.png

 

and a new comment is inserted, saying that a new HR Case has been created. 

This is a OOTB behavior so my question is: where can I find this script (the new hr case created) on the system and where is the script to write something on the additional comments when a new hr case is created?

 

I hope someone could help me.

Thank you

André Ramos

 

 

8 REPLIES 8

Check Some other Server-Side Configuration.

Checked all and can not find anything about it.

Brad Bowman
Kilo Patron
Kilo Patron

I would question whether this is truly OOTB behavior.  When I close a similar task in my PDI there is not a comment or a case created.  Look for a Business Rule on the HR Task table that has a script which adds the comment and/or creates a Case record.  It could also be happening in a flow attached to the HR Task.

I did not change anything on my PDI... it is a new one. You need to submit the task on the portal... not changing manually the hr task state to close completed