Trying to use "invoke method" to update task in ServiceNow

Hello,
I’m trying to use invoke method to update incident/task/etc. in ServiceNow instance.
So far I’ve created a json object variable->used MethodName Add-> entered parameters.
I’ve managed to update short description field but the problems come when I try to change the value of state from example new → resolved.
I’m not sure how to approach this because the value of state field choices are in integer but at the same time I need to add JToken as the parameter type.

Error msg: Sequence.xaml: ‘JObject’ does not have a public instance method named ‘Add’ matching the parameter types, generic type arguments, and generic type constraints supplied to InvokeMethod ‘Invoke Method’.

HI @Henrikee

Check out the thread

Regards
Gokul

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.