A flow with conditional expressions with reference pills cannot be sent to the mid and deserialized successfully due to the exception:
"unable to deserialize process plan from JSON".
08/23/19 10:55:18 (534) Worker-Expedited:IPaaSActionProbe-8fff60c0dba7b7403199776baf961995 SEVERE *** ERROR *** Error context: b2ff60c080a7b740a2e15fe65454ad4b: unable to deserialize process plan from JSON: com.snc.process_flow.exception.ProcessAutomationException: unable to deserialize process plan from JSON
Caused by: java.lang.NullPointerException
Steps to Reproduce
- Create a flow with an if statement with a reference pill, i.e. trigger -> record -> field.
- Add a step that requires mid to the same flow.
- Attempt to run the flow.
- The flow will error with the message "unable to deserialize process plan from JSON".
Rather than using reference pills directly in the conditional, the reference pill can be transformed into a string by passing it into an action which returns the input as a string type and then that returned output can be used in the conditional in place of the reference pill.
Related Problem: PRB1358468