The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Flow Designer- Error- Resetting Stack

Puru2
Tera Contributor

Hello All,

While working with Flow Designer in SN- Yokohoma release, recently we have been facing the following error:
"Found mismatch in scope after flow engine done. resetting stack".

Flow Designer calls an action, which further creates a record in a custom table.
The messages from log-statement show that after obj.insert() operation, sys_id of the new custom-record was generated, however the record with the aforesaid sys_id was not found in the custom table.
It appears like system has reverted the Create operation.

Following is the step-by-step operation:
Submit Catalog Item through Service Portal -> Flow Designer -> Action -> Script Include

All the mentioned objects are in the same scope, which is Global -> RITM record, Flow, Action, Script include.
This Flow-Designer is working in Washington release; however, it has stopped working in Yokohoma release with the following warning: "Found mismatch in scope after flow engine done. resetting stack".

Please let me know for any valuable suggestions.

13 REPLIES 13

@tejaswi bynagar The associated problem PRB1881084 with this issue is fixed in Patch 6  Hope this helps.

Puru2
Tera Contributor

Hello All,
Greetings.

This error/warning has been remediated in system by using Cryptography module.
The table, where records are being inserted via Script Include, has columns which are type "Encrypted".

Hence, to perform insert/update operations over all such Encrypted Type columns, Cryptography module has to be utilized.

Here's the SN-Community post, which acts as a guidance in setting up KMF module:

Step-by-Step Guide to Configuring an Encryption Mo... - ServiceNow Community


Hope this helps,
Regards,
Puru

Eliz Skogquist
ServiceNow Employee
ServiceNow Employee

Possibly: PRB1881084.