When installing the WorkFlow package, a sample WorkFlow will also be added Basic WorkFlow. Basic WorkFlow comprises of 2 states Inital Approval and Publish. Inital approval has 2 child elements a command and an action, the command executes when the WorkFlow set the state. The action is available in the WorkBox (If user have permissions set against the action).

Group:

  • Document Types, select the document types that the WorkFlow get created from. If you select a document type that is in the ancestor tree this will also create the WorkFlow.
  • ToPublish State, select a state that WorkFlow will revert to when ToPublish is selected and WorkFlow for this group already exists. All commands will be actioned.
  • Save Sate, select a state that WorkFlow will revert to when a document is saved while workflow is in progress (user this with caution as save occurs before any ToPublish).

States:

  • Users and Roles, selecting users and/or roles will create visibility for that state in a users WorkBox.
  • Completed, this flag will finish the workflow when entering the state. The workflow will no longer be visible in the WorkBox.

Commands:

  • Type, this is the namespace and assembly that holds a class that implements the IWorkFlowCommand interface found in the ExtendedWorkFlow.dll. The format is the same as normal namespace assembly strings <Namespace.Type>, <Assembly>.
  • Parameters, parameters are used to pass information for that command example (e-mail address or body text). If you use name valued pairs the same as a querystring (encoded) there is a function ExtendedWorkFlow.Functions.GetParameters() this will return a collection of the parameters that is simple to use. See ExtendedWorkFlow.Commands.Notification for an example.

Actions:

  • Users and Roles, selecting users and/or roles will create visibility for that action in a users WorkBox. Users can NOT see actions if they do not have permissions set against a State
  • Next State, this is the next state the WorkFlow will goto when a user actions the action in the WorkBox. Leaving this blank will automatically set the next state in the WorkFlow sequence.

 

All changes in the WorkFlow must be published before the WorkFlow is visible or actionable. The only exception is the users and roles on states and actions this will be of immediate effect if the WorkFlow item is save or published.

Last edited Mar 13, 2011 at 10:34 AM by a_jam_sandwich, version 3

Comments

No comments yet.