Why is there no changes condition for "requested for" variable

JoostHW
Tera Contributor

Hi everybody,

I'm trying to set up a condition in Flow Designer on the Requested for field that should trigger when the field changes:
Requested for - changes

However, in the condition builder I only see options like:

is, is not, is empty, contains, etc

But there is no “changes” option available. I use this option for the variable "state" often. 

Why is that? This option is also not in UI policies. 
Is it possible to add this condition option or is it only achievable with scripts? 

Thanks in advance!

4 REPLIES 4

palanikumar
Mega Sage

Hi,

Can you share the screenshot of the condition and table name.

Thank you,
Palani

Ankur Bawiskar
Tera Patron
Tera Patron

@JoostHW 

If you are talking about sc_req_item table then you cannot have flow on that table as it's OOTB limitation for flow

[sc_req_item] Table not available on Trigger of Process Automation Designer 

Changes operator is available for fields in business rule etc but not for variables.

If you want to check if variable on RITM changed or not then you can use after update business rule on RITM table and this in BR condition

current.variables.variableName.changes()

AnkurBawiskar_0-1748264717056.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

sunil maddheshi
Tera Guru

@JoostHW 

 

  • The "changes" operator is available only for certain audited fields like State or Assignment Group, often used in Task-based tables.

  • Requested for might not be audited by default or the Flow Designer condition builder doesn't expose changes for reference fields unless they are specifically tracked.
    UI Policies only run on client-side and do not support change detection unless you handle it via custom Client Scripts.
    For work around 

    1. Use a "Script" condition in a decision or "If" condition:

      current.requested_for.changes()

      This works only if current is available, typically in Business Rules. In Flow Designer, you'd need to compare old vs new values manually.

      Please mark correct/helpful if this helps you!




 

Hi,

Do you know why this operator is only available for certain fields and not for the requested for field? For me it made sense to use the changes operator to detect if this field changes. Do you know if it is possible to add an operator?