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

[SW Editor] resultEventRef in Event Action "eventRef" is not a required field

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • False
    • None
    • False
    • Hide

      Ignore the editor message.

      Show
      Ignore the editor message.
    • ---
    • ---

      As per the spec, version 0.8, the field resultEventRef is required, so the editor is fine from this perspective.

      But, Kogito Workflow core does not require this feature since it won't make sense in most use cases. On spec version 0.9, we removed this requirement from the field.

      So, for UX purposes, can we remove this field from the list of required fields?

      Example, in this code excerpt you'll see that the editor complains about the field in the eventRef reference:

       {
                  "name": "RequestQuote",
                  "type": "callback",
                  "action": {
                      "eventRef": {
                          "triggerEventRef": "requestQuoteEvent"
                      }
                  },
                  "eventRef": "aggregatedQuotesEvent"
              }
      

              paulovmr Paulo Rego
              rhn-support-zanini Ricardo Zanini
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: