Section | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Previously completed activities in a workflow can be viewed by all users but editing data is only allowed for the user that initiated the flow. For example, if the Summary step is part of a screenflow performed by the same user, editing is allowed when this user clicks on the Details button. Once the flow navigates to a different user, previous steps are rendered read-only and cannot be edited. Refer to Flow Processing Modes for more information.
The Print button is available on Summary steps by default. Refer to Printing Flows for the details.
HTTP
HTTP Wait-Notify is a new type of activity that can be added to a flow. It is configured with a post url. The flow data is posted to this url when the task is executed. A call back url is included in the post. The flow and task are suspended until the receiver posts back. Y
The timezone must be added programmatically by programmatically by the service you are using. HTTP activities can be performed by an anonymous user.
Let’s consider this scenario. Your company has a purchase process workflow. One of the steps in the workflow requires approval from several other approvers before the flow can continue to the next step. These approvals should happen in parallel and not one after the other. A web component that would manage those approvals is in place. An HTTP Wait-Notify can be added to the Live forms flow with a URL to the web component to collect the signatures. The callback URL will be included in that post. The flow will be suspended until all the signatures are collected. The remote web component will notify the Live Form flow using the callback URL when the signature task is completed. If the HTTP step in the flow has doc actions configured, they will be performed and the flow will proceed to the next step.
...
No Format |
---|
10:14:13.071 |-INFO [http-nio-8080-exec-2] [ c.f.f.s.FlowService] - HttpWaitNotify: POSTing to http://localhost:8080/services/testwaitnotify Jun 21, 2013 10:14:13 AM org.apache.catalina.core.StandardWrapperValve invoke INFO: TestHttpWaitNotifyServlet: notify URL is: http://localhost:8080/frevvo/web/tn/willstenant/user/designer/app/_fZMUEK5vEeKl1rJ0IEAosw/flowtype/_pJUvcMFJEeKKR-e9RKn4zg/notify?embed=true&_method=POST&nextActivityTypeId=next&locale=eng&_method=post&embed=true&_submission=4a3850a2-4c62-4a1b-b2e1-f50bba6547c8 |
When the first activity in the flow is submitted, you will see an outbound message in the frevvo log similar to the one shown below:
Notice the latter portion of the entry contains the call back URL
...
You cannot reset a flow to an HTTP activity. There is a new flow status, WAITING, that you can use to find activities in a flow that is in a suspended state.
Note |
---|
If navigation is used to go to previous activity, the HTTP activity will be skipped. In this case if a user who has navigated back, makes some changes in a form and proceeds forward through the flow, the backend system will not have updated data. If If you use the HTTP activity, it is important to realize that it will not get called again if the user navigates around. The designer may not want to have the navigation bar visible or prior steps' data should be read-only. The HTTP activity will get recalled if you reset to a prior step and the flow continues through it's normal steps. |
Configure a History Message on the activity before the HTTP activity if you want to see relevant information in the audit trail. HTTP activities can be performed by an anonymous user.
Info |
---|
Use of the Email activity requires that the ACL for "who can use the flow" is set to public. If you want to control who can use the flow, then set a role(s) on the first step of your workflow. |
...
Email activities can be performed by an anonymous user.
- The email link can be accessed multiple times
The anonymous email activity will show up in the navigation bar for other users as usual; you can assign it a decorator but you cannot click on it.
The task will show up in the Audit Trail in the Waiting state when it is waiting for an anonymous recipient. You can search for it, do all the usual things.
Users can reject anonymous steps in a flow by clicking the Reject button but a subsequent user cannot reset a flow back to these steps. See the topic below for more information.
If navigation is used to go to previous activity, the EMail activity will be skipped. It would get recalled if you reset to a prior step and the flow continues thru it's normal flow.
Configure a History Message on the activity before the Email activity if you want to see relevant information in the audit trail. The History Message can be templatized so you can see who the email address of the recipient.
Email Properties
When you drag/drop an Email activity into your flow and click on it, a Properties panel displays. The Name, Pending Message and Decorator properties work exactly like they do on other types of activities. Task Info and Precondition do not apply and if you want to set up a History Message you must do so on the step in your flow that the anonymous user is going to see. Note the envelope decorator to identify the Email activity in the flow.
Activity Doc Actions work exactly like they do on other types of activities.
When you click on the step in your flow that is seen by the anonymous user, a Properties pane displays. Several of these properties, do not apply to a task performed by a non-authenticated person and will have no effect. These properties are: Role List, Role, User, Task Info, CSS class, Preconditon, Save Load, Save to Role, and Save to User and . You can customize the button label, history message and select a decorator for this task that will display on the Navigation toolbar.
The Task Notification Email wizard also works exactly like it does on other types of activities except that the default message content is slightly different. It references {task.notify.url} which is the back link URL that the non-authenticated person clicks in the email to perform their step in the workflow. The designer can customize this message however, if you don't include the {task.notify.url} in your email content, the email recipient will never be able to access the task.
Resetting a Flow with an Email Activity
Consider a flow with the following navigation: Step 1 is performed by an Employee > Step 2 is an Email activity > Step 3 is performed by an Anonymous user > Step 4 is performed by a manager.
- Employee starts flow, email gets sent, the anonymous step is performed and a task is generated for manager.
- A flow cannot be reset to the Email or Anonymous user step. In this example, only a reset to the employee step is allowed.
- The Employee performs the step again and clicks Continue. The Email activity is performed again and another email will go to the anonymous user.
The same behavior applies to a flow with an HTTP activity.
Searching Tasks with an Email Activity
...