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

$CONTEXT.workflowInstanceId not resolved as argument to Service call

    XMLWordPrintable

Details

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

    Description

      {
        "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);
      } 

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: