Skip to content

Instantly share code, notes, and snippets.

@grdryn
Created April 18, 2017 15:35
Show Gist options
  • Save grdryn/61f8d9a9e8614added5efd18d23ddedc to your computer and use it in GitHub Desktop.
Save grdryn/61f8d9a9e8614added5efd18d23ddedc to your computer and use it in GitHub Desktop.
db["workflows"].findOne()
{
"id" : "HJ8QkzOSH",
"title" : "Static forms",
"_id" : ObjectId("58f62fc55c75a2224bcf9a2b"),
"steps" : [
{
"updatedAt" : ISODate("2017-04-18T15:24:53.928Z"),
"createdAt" : ISODate("2017-04-18T15:24:53.928Z"),
"code" : "risk-assessment",
"name" : "Risk Assessment",
"templates" : {
"form" : "<risk-assessment-form></risk-assessment-form>",
"view" : "<risk-assessment value=\"result.submission\"></risk-assessment>"
}
},
{
"updatedAt" : ISODate("2017-04-18T15:24:53.928Z"),
"createdAt" : ISODate("2017-04-18T15:24:53.928Z"),
"code" : "vehicle-inspection",
"name" : "Vehicle Inspection",
"templates" : {
"form" : "<vehicle-inspection-form></vehicle-inspection-form>",
"view" : "<vehicle-inspection value=\"result.submission\"></vehicle-inspection>"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment