How to map catalog item variable value to the field in RITM table

Sk Sharukh1
Tera Contributor

In the catalog item , I have one variable of Type date/time in the variable set which i need to map to due date field in RITM table 

 

 

SkSharukh1_1-1673420015522.png

 

I need to map to the below field 

SkSharukh1_2-1673420106151.png

How to achieve this ?

 

 

1 ACCEPTED SOLUTION

Sagar Pagar
Tera Patron

Hi @Sk Sharukh1,

 

You can mapped in workflow scripts as -

current.due_date = current.variables.due_date_variable_name;

 

Thanks,
Sagar Pagar

The world works with ServiceNow

View solution in original post

5 REPLIES 5

Sagar Pagar
Tera Patron

Hi @Sk Sharukh1,

 

You can mapped in workflow scripts as -

current.due_date = current.variables.due_date_variable_name;

 

Thanks,
Sagar Pagar

The world works with ServiceNow

Thank you @Sagar Pagar It worked!

Kirby R
Kilo Sage

You may refer to this:

Solved: Due Date on RITM - ServiceNow Community

 

else if business process is different then you may need to assign it via the Flow or the Workflow depending on the Process engine associated with it.

yaminikoduri333
Tera Contributor

@Sagar Pagar , Thanks for the response. Can we achieve this via after business rule ?