Can HR Tasks pass information to one another?

G24
Kilo Sage

When an HR Service is set to Fulfillment type = Service Activity, like this:

000.png

 

Is it possible for the user data entered on one task to get somehow passed to (and show up in) a subsequent task?

And If so, where can I learn how to do this?  Thanks. 

111.png

 

 

3 REPLIES 3

Sandeep Rajput
Tera Patron
Tera Patron

@G24 You can achieve this via a combination of Client script and a script include. The GlideAjax call will be made onLoad of the subsequent tasks and check if the previous task was complete. If it is already completed then you can you can fetch the relevant details from it. 

 

A common link which connects all the child HR task is the parent case. Using a combination of parent case and the short description of the task you can query the HR Task data from database.

 

I wrote an article on the similar topic here https://www.servicenow.com/community/hrsd-articles/fetching-subject-person-details-on-a-record-produ....

 

@G24 Do you have any further questions on this topic?

OK.  Thank you.  But it sounds like this is not really "Expected" or "Supported" by ServiceNow.

 

There is a way, but it's more of a workaround since there is no standard feature for doing this in the base product.  Unless you use "Flow" as opposed to "Service Activity".

 

Would you agree with that characterization?