cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
123
Views
0
Helpful
1
Replies

Update a flow variable

bimcdona
Cisco Employee
Cisco Employee

I want to update a flow variable from the evaluate node.  My Javascript is below but does not work:

let $(n2.inboundWebhook.msisdn) = $(n2.inboundWebhook.msisdn).replace("+", "");

bimcdona_0-1719000994480.png

 

 

 

1 Accepted Solution

bimcdona
Cisco Employee
Cisco Employee

So it appears that you cant modify node data via the evaluate node but you can modify custom data, but not directly in the evaluate node.  You have to update it via the Transition-Action -> On-Leave using the evaluate output to set the custom variable.

bimcdona_0-1719014932028.png

 

 

 

 

View solution in original post

1 Reply 1

bimcdona
Cisco Employee
Cisco Employee

So it appears that you cant modify node data via the evaluate node but you can modify custom data, but not directly in the evaluate node.  You have to update it via the Transition-Action -> On-Leave using the evaluate output to set the custom variable.

bimcdona_0-1719014932028.png