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

expose status field as part of journey/end and step/end #230

Closed
vigneshshanmugam opened this issue Feb 24, 2021 · 0 comments · Fixed by #231
Closed

expose status field as part of journey/end and step/end #230

vigneshshanmugam opened this issue Feb 24, 2021 · 0 comments · Fixed by #231
Assignees
Labels
enhancement New feature or request

Comments

@vigneshshanmugam
Copy link
Member

  • Right now we expose the status -> succeeded, failed as part of the payload field which is not searchable.
  • We move that to the journey and step schema which would make things easier for the heartbeat and also for the UI to query these fields.
{
    "type": "journey/end"
   "journey": {
       "name": "blah",
       "id": "blah",
       "status": "failed"
    },
    "error": {}
}

{
    "type": "step/end"
   "step": {
       "name": "blah",
       "id": "blah",
       "status": "failed"
    },
    "error": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants