Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workflow cannot be deployed when a join activity after a condition form reply #163

Closed
yinan-symphony opened this issue Oct 6, 2022 · 1 comment · Fixed by #155
Closed
Milestone

Comments

@yinan-symphony
Copy link
Contributor

Bug Report

given a workflow having a join activity after a conditional form reply as

id: condition-form-reply-join
activities:
  - send-message:
      id: sendForm
      on:
        message-received:
          content: /go
      content: |
        <messageML>
          <form id="sendForm">
            <text-field name="ticker" placeholder="Please enter the Stock Ticker here"></text-field>
            <textarea name="content" placeholder="Please enter your Research Content here and then Submit form."></textarea>
            <button name="send-answers" type="action">Send</button>
          </form>
        </messageML>
  - send-message:
      id: response0
      on:
        form-replied:
          form-id: sendForm
      if: ${sendForm.ticker == 'GOOG'}
      content: |
        <messageML>
          First reply (if): ${sendForm.content}
        </messageML>
  - send-message:
      id: response1
      on:
        form-replied:
          form-id: sendForm
      else: {}
      content: |
        <messageML>
          First reply (else): ${sendForm.content}
        </messageML>
  - send-message:
      id: response2
      on:
        one-of:
          - activity-completed:
              activity-id: response0
          - activity-completed:
              activity-id: response1
      content: |
        <messageML>
          END
        </messageML>

Expected Result:

the workflow is deployed successfully and running as correctly according to the right conditions

Actual Result:

the workflow is not able to deploy

Environment:

...version and build of the project, OS and runtime versions, virtualised environment (if any), etc. ...

Additional Context:

...add any other context about the problem here. If applicable, add screenshots to help explain...

@symphony-soufiane
Copy link
Contributor

Fixed and will be released in WDK 1.3.0
163

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants