How to related automatically a change_request in a ritm with a workflow script

scl_amorale
Tera Expert

I need the chg in this image view. 

scl_amorale_1-1741641913112.png

 

 

 

2 ACCEPTED SOLUTIONS

Thank you my friend, the script it' s working right now.

View solution in original post

Thank you, the script it' s working right now.

View solution in original post

9 REPLIES 9

Medi C
Giga Sage

@scl_amorale 

Is the change request created during the ritm workflow execution?

If so, you could just get the Change Request, and set its parent.

grChange.parent = current.sys_id;

If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.

 It doesn't work ,

Could you please share a screenshot from your workflow as well as the part which is creating the change request?


If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.

I need to related change_reques to RITM automatically

scl_amorale_0-1741664549665.png