Skip to content

Instantly share code, notes, and snippets.

@ketanghumatkar
Created March 20, 2015 16:47
Show Gist options
  • Save ketanghumatkar/316a47902a97fa8e776d to your computer and use it in GitHub Desktop.
Save ketanghumatkar/316a47902a97fa8e776d to your computer and use it in GitHub Desktop.
treeni_workflow.json
workflow: {
states: [
{ index: 0, name: "abc" },
{ index: 1, name: "xyz" }
],
moves: [
{ index: 0,
from_state_id: 0,
to_state_id: 1,
name: "move1",
condition_attributes: [
{ id: null
indicator_id: 234,
operator: "",
value: ""
}
]
},
{ index: 0,
from_state_id: 0,
to_state_id: 1,
name: "move2",
condition_attributes: [
{ id: null
indicator_id: 56,
operator: "",
value: ""
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment