Variable Value Change after Catalog Item submission

samuelbingham
Tera Contributor

Is there any way to change the variable values that were originally chosen AFTER submission?
Example: Fulfiller chooses IPhone and the color blue after android has already been submitted.Variable Change.PNG

8 REPLIES 8

RAMANA MURTHY G
Mega Sage
Mega Sage

Hello @samuelbingham ,

 

Users can change variable values on RITM form, but flow will trigger with previous values only. If flow is waited for any thing, at that time user changes variable values, flow continue with new values.

 

If you want to restrict variable value update on RITM form. You have to write Business Rule.

 

Please mark my answer helpful & correct, if it helps you

Thank you

 

 

Please mark my answer helpful  & correct if it helps you
Thank you

G Ramana Murthy
ServiceNow Developer

So how would I get the new values to update to the RITM Work notes after I close the catalog task that is associated with the flow and this RITM. Would greatly appreciate your help on this. 

Robbie
Kilo Patron
Kilo Patron

Hi @samuelbingham,

 

It's absolutely possible and available Out Of Box ('OOB').

On the Request item form, edit the form (in the desired view) and pull in the 'Variable Editor'.

 

To do this, right-click on the top of the Requested Item form and select 'Configure' > 'Form Layout'.

I personally like to add the Variable Editor into its own Section (or Tab), so I create a new Section to add it to.

You can choose where you want to add this appropriately, but it's simply a container and selectable 'field' from the sluch bucket. See screen shots below.

Note - you may want to make some of these variables read-only if you don't want all variables to be editable. By default, all variables are are editable. To make chosen variables read-only, you can create and leverage a UI Policy on the Requested Item.

 

However, something that @RAMANA MURTHY G advises which is very important, 'if' any of the variables are used to drive or affect change the workflow - proceed with caution and make sure you factor this in.

 

To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Kudos.


Thanks, Robbie

 

Screenshot 2024-06-06 at 16.36.04.pngScreenshot 2024-06-06 at 16.29.58.png

So in my case, my variable editor was already there right? Also, I have a catalog task associated with this RITM and when I close the catalog task the values from variable editor get copied into the work notes on the RITM. In my case, it is still only copying the originally chosen values rather than the new ones. So that is the problem I am experiencing.