End users can interact with a process app only when it is published. The Publish option allows you to make your Process App available to your end-users.
Process App Status
Process application goes through different stages before it is used by an end-user. It follows the life cycle as shown below:
- In Development – The process app configuration is in progress but has yet to define all the required configurations.
- Awaiting Approval – The Process Owner has published the process application thus initiating a request to the admin, but the admin is yet to approve the publishing request.
- Approval Queue:
- Approved – The admin has approved the process application publish request and is ready to use. The status of the process application automatically turns into a published state.
- Rejected – The admin has rejected the publish request. An email is sent to the developer with comments from the admin.
- Published – The Process App is live and available for end-users to use.
Publish a Process App
To publish a process app, follow the below steps:
- Open the process app you want to publish.
- Click Publish on the top-right.
- On the Publish window, you can find the below components with configurations:
- Triggers
- Flow
- If the process app is published for the first time, the system enables all the above components to be published, and you can select/clear the components. Once the process app is published, and if there are any changes made post publishing, components updated after publishing the latest version are enabled for selection, and the rest of the sections remain in the disabled state. At least one trigger and channel are mandatory to publish a process app.
- Select the Visibility option from Public (visible to anyone with the link), or Private (restricted to specific user groups and users in the system).Note: Selecting Visibility is mandatory where Public is selected by default. Once published, the visibility settings cannot be modified.
- Under the Additional Comments section, enter relevant comments for publishing.
- Click Publish.
Dynamic Error Console
You can view all the errors categorized by step on the Flow Designer error console in the property panel. You will see the errors if the mandatory fields are not entered.
If errors exist, the Publish button is disabled on the Publish page which prevents the user from publishing the node.
The following message appears on the screen.
To view the error details, follow the steps below:
1. Click the Fix Issues link.
2. This will navigate to the Property panel where the error warning(s) are displayed.
3. The number of errors against each step is displayed and the node for which unresolved errors are present are highlighted.
4. Click the error on the error console to view the steps and all the errors within the steps including the step name, step type, and relational inferences.
5. Navigate through the errors by clicking the caret icon at the top.
6. Resolve the errors by clicking the issue and fixing them in the respective node and property panel.