862 views

Description

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
at com.snc.process_flow.engine.ProcessPlan.fromJSON(ProcessPlan.java:215)
Caused by: java.lang.NullPointerException
at com.snc.process_flow.val.transform.ConditionalExpression.coerce(ConditionalExpression.java:175)

Steps to Reproduce

  1. Create a flow with an if statement with a reference pill, i.e. trigger -> record -> field.
  2. Add a step that requires mid to the same flow.
  3. Attempt to run the flow.
  4. The flow will error with the message "unable to deserialize process plan from JSON".

Workaround

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

Seen In

SR - Finance - ERP Integration - Madrid v4.0.0
SR - Finance - Financial Close - Madrid v4.1.2
SR - IntegrationHub - F5 Integration v1.0.3
SR - IntegrationHub - Okta - V1.0.2
SR - IRM - GRC Profiles - Madrid 2019 Q2
SR - IRM - PA Premium Integration - New York 2019 Q3
SR - IRM - Policy and Compliance - Madrid 2019 Q2
SR - IRM - Policy and Compliance PA Content - Madrid 2019 Q1
SR - IRM - Risk Management - New York 2019 Q3
SR - IRM - Risk Management PA Content - Madrid 2019 Q1
SR - IRM - SIG Assessment Legacy - Madrid 2019 Q1
SR - IRM - SIG Questionnaire - New York 2019 Q3
SR - IRM - Vendor Risk Management - Madrid 2019 Q1
SR - ITOM - CMDB CI Class Models - 201909
SR - ITOM - Discovery and Service Mapping - 201908
SR - ITOM - Fundamentals Istanbul Jakarta Kingston r1 - v5.99.6
SR - Security - Integration Framework - Madrid 2019 Q2
SR - Security - Support Common - Madrid 2019 Q2
SR - Security - Support Orchestration - Madrid 2019 Q2
SR - SIR - Security Incident Response - Madrid 2019 Q2
SR - SIR - Store SecOps Setup Assistant - Madrid 2019 Q2
SR - SIR - Store Trusted Security Circles Client - New York 2019 Q3

Fixed In

New York Patch 6
Orlando

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2020-09-28 09:39:57
Published:2020-01-13