Populate variables from RITM to its approval record

Admin7267
Kilo Sage

I want to populate Item, start date and end date values from RITM to its approval record in sys_approval_approver table. I was able to populated item value on the approval record but not able to do start date and end date.

 

start date and end date variables are not showing up in the show XML as well.

 

How to populate the start date and end date values on the approval record?

 

Admin7267_0-1717395685814.png

 

1 ACCEPTED SOLUTION

Jitendra Diwak1
Kilo Sage

Hi @Admin7267,

 

To populate the variables, you could gliderecord on table sc_item_option_mtom and pass the RITM sys id to get the all information from variables and set the values in Approval table.

 

Please accept my solution if it works for you and thumps up.

 

Thanks

Jitendra

Please accept my solution if it works for and thumps up.

View solution in original post

2 REPLIES 2

Dnyaneshwaree
Mega Sage

Please post your code so, I will suggest the required changes.

Thank You!!

Please accept my solution if it works for you and thumps up to mark it as helpful.
Thank you!!

Dnyaneshwaree Satpute
Tera Guru

Jitendra Diwak1
Kilo Sage

Hi @Admin7267,

 

To populate the variables, you could gliderecord on table sc_item_option_mtom and pass the RITM sys id to get the all information from variables and set the values in Approval table.

 

Please accept my solution if it works for you and thumps up.

 

Thanks

Jitendra

Please accept my solution if it works for and thumps up.