Changes between Version 6 and Version 7 of BluePrint/WorkflowSupport
- Timestamp:
- 07/26/13 21:24:11 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BluePrint/WorkflowSupport
v6 v7 87 87 N = S3Workflow().node 88 88 Exit = S3ExitNode 89 return N(" event", "incedent") & \90 ( N(" event", "event", "create") | \91 N(" project", "project","create") )& \92 N(" vol", "volunteer","create") & Exit())89 return N("create incident").handle("event", "incident") & \ 90 ( N("create events ").handle("event", "event", "create") | \ 91 N("create project").handle("project", "project","create") )& \ 92 N("create volunteer").handle("vol", "volunteer","create") & Exit()) 93 93 94 94 }}} … … 96 96 * Here ‘&’ depict that the next node is a necessary or required node and ‘|’ depict that next node is a optional or a choice node. 97 97 * Exit(..) tells the workflow engine to end workflow here 98 * The defined data data structure will be of the following format - 98 * Developer will be free to configure prep and postp for each node. 99 * this will be added something like this - 99 100 101 {{{ 102 103 N("create incident").handle("event","incident",prep,postp) 104 }}} 100 105 101 106