Skip to content

Workflow DSL - Control Structures "If" is not evaluating properly when Inputs -> Condition includes JObject properties #1135

@MikayilBayramov

Description

@MikayilBayramov

We are using Workflow Core for one of our projects. Our workflows are dynamically build using Workflow.DSL. Most of our input properties that are evaluated by WF Control Structures are JObject types. I am encountering an issue when "If" condition is evaluating against one of the JObject type properties. For example below is an fragment of DSL JSON workflow where condition of first step (If) is evaluated against "data.SystemEvent.Event.TaskEventType" and Event is JObject property. This condition would return "true" if "Event.TraskEventType" is strongly type; however, I get "false" if it is JObject.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions