Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-6802

$CONTEXT.workflowInstanceId not resolved as argument to Service call

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • False
    • False
    • 2022 Week 08-10 (from Feb 21)

      {
        "name": "ansibleAction",
        "functionRef": {
          "refName": "triggerAnsibleManually",
          "arguments": {
            "jobId": 7,
            "workflowInstanceId": "$CONTEXT.workflowInstanceId"
          }
        }
      } 

      Resolves in String "$CONTEXT.workflowInstanceId" value into Service call in the following method:

      public void triggerJob(Integer jobId, String workflowInstanceId) {
          System.out.println("workflowInstanceId = " + workflowInstanceId);
          System.out.println("jobId = " + jobId);
      } 

              ftirados Francisco Javier Tirado Sarti
              cnicolai@redhat.com Cristiano Nicolai (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: