Changes between Version 6 and Version 7 of BluePrint/WorkflowSupport


Ignore:
Timestamp:
07/26/13 21:24:11 (12 years ago)
Author:
hardik juneja
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrint/WorkflowSupport

    v6 v7  
    8787        N = S3Workflow().node
    8888        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())
    9393                                                         
    9494}}}
     
    9696* Here ‘&’ depict that the next node is a necessary or required node and ‘|’ depict that next node is a optional or a choice node.
    9797* 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 -
    99100
     101{{{
     102
     103N("create incident").handle("event","incident",prep,postp)
     104}}}
    100105
    101106