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 stuck in running state #184

Closed
guzzijones opened this issue Nov 21, 2019 · 0 comments · Fixed by #195
Closed

Workflow stuck in running state #184

guzzijones opened this issue Nov 21, 2019 · 0 comments · Fixed by #195
Labels

Comments

@guzzijones
Copy link
Contributor

If the action is not listed syntactically correct the workflow will stay in a running state forever:
workflow:

version: 1.0
tasks:
  add_domains_to_ticket:
    with:
      items: "domain  in {{ctx().mitigate_domains }}"
      action: "core.echo message={{item(domain)}}"



input:
  - mitigate_domains
  - ticket: null

meta:

pack: intel
enabled: true
runner_type: orquesta
name: ticket_add_domains_mitigate
parameters:
  mitigate_domains:
    type: "array"
    items:
      type: "string"
  ticket:
    type: integer
entry_point: workflows/ticket_add_domains_mitigate.yaml

the fix is:

tasks: add_domains_to_ticket:
  with:
    items: "domain in {{ctx().mitigate_domains }}"
  action: "core.echo message={{item(domain)}}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants