@camunda8/sdk
    Preparing search index...

    Type Alias EvaluateDecisionRequest

    EvaluateDecisionRequest:
        | { decisionKey: string; tenantId?: string; variables: JSONDoc }
        | { decisionId: string; tenantId?: string; variables: JSONDoc }

    Type declaration

    • { decisionKey: string; tenantId?: string; variables: JSONDoc }
      • decisionKey: string

        the unique key identifying the decision to be evaluated (e.g. returned from a decision in the DeployResourceResponse message)

      • OptionaltenantId?: string

        the tenant identifier of the decision

      • variables: JSONDoc

        JSON document that will instantiate the variables for the decision to be evaluated; it must be a JSON object, as variables will be mapped in a key-value fashion, e.g. { "a": 1, "b": 2 } will create two variables, named "a" and "b" respectively, with their associated values. [{ "a": 1, "b": 2 }] would not be a valid argument, as the root of the JSON document is an array and not an object.

    • { decisionId: string; tenantId?: string; variables: JSONDoc }
      • decisionId: string

        the ID of the decision to be evaluated

      • OptionaltenantId?: string

        the tenant identifier of the decision

      • variables: JSONDoc

        JSON document that will instantiate the variables for the decision to be evaluated; it must be a JSON object, as variables will be mapped in a key-value fashion, e.g. { "a": 1, "b": 2 } will create two variables, named "a" and "b" respectively, with their associated values. [{ "a": 1, "b": 2 }] would not be a valid argument, as the root of the JSON document is an array and not an object.