Article last updated on the 29th of July, 2024.
Content
1. Introduction
3. User Guide
1. Introduction
In this process configuration example, we will create a simple process which can be used to create entities in your WorkPoint solution.
The example will make use of the following Process steps:
- Entity Form
- Create Entity
We will use these steps to create a process which creates Project entities.
2. Configuration
In this section, we will configure the New Project process and create a My Tools button to start the process.
2.1. Process configuration
We begin in the Process Builder tool inside the WorkPoint Administration:

- To create a new process, we click the "New" button.

- In the "Create new" dialog, we select to start from scratch. Using this option we given a clean slate to create our process.

- In the next dialog, we provide the new process with a title. In this example, we title the process "New Project".
- Next, we select the Process type. Since the process will require the user to provide some data input, we select the "User Process" option. You can read more about the difference between System Processes and User Processes in this article.
- Next, we select which group to place the process in. Groups are created as terms on the Site level term set "WorkPoint365 Process Groups". In this example, we have created a term called "Entity Processes" which can be used as a group for all processes related to entity creation and handling.
- To finish the setup and begin working on the process, we click the "Begin" button.
We can now begin adding steps to our Create Project process:

- To add a new step to the process, we click the "Add new step" button.
- At this point, we will add the first step of our process: the Entity Form step. We can search for it in the search bar.
- Next, we select the "Entity form" step.
- A panel appears, displaying some information about the step and what it can be used for. This can be useful if you are unsure which steps to use and in what context.
- To add the Entity form step to our process, we click the "Add step" button.
The Entity form step is now added to the process:
- If the Step Properties panel does not open by itself, you can open it by clicking the step in the process chain.
- We need to add some information to some of the Entity form properties, so we open the "Options" tab in the Step Properties panel.
- In the "Business module" field, we select the Projects business module. In the "Content type (stage)" field, we select which stage we want newly created projects to begin in. In this case, we select the "Idea" stage.
- In the "Enable content type (stage) selection" field, we can select whether the user of the process should be able to select a different starting stage in a drop down menu on the form.
We can now proceed by adding the final step of the process: the Create entity step:

- To add a new step to our process, we click the "Add a step" button.
- Since we want to add the "Create entity" step, we open the Entity tab and select the "Create entity" step.
- To add the step to the process, we click the "Add step" button.
We can now set up the General settings of the Create entity step:

- The previous step in the process (the Entity form step) allows the user to input meta data for our new project. This meta is stored in the context of the process and we can now use this data in our Create entity step to create a new project with the meta data provided. To do this, we need to tell the Create entity step to use the output from the Entity form step as input. In the "Step Input" field we therefore select "Output from Entity form".
Next, we move on to the "Options" tab of the step:

- In the "Business module" field, we select on which business module the entity should be created in. In this case, we want to create projects, so we select our "Projects" module.
- In the "Create site behaviour" field, we can select the site creation behaviour used for this process. In this example, we select the "Asynchronous" option. The available options are:
- Synchronous: Creation of the entity site will pause progress of the form until finished.
- Asynchronous: Once the entity site creation job is started, the user can proceed to the next step immediately while the site creation is running in the background.
- Skip: The entity site creation job is skipped and no site will be created.
- In the "Stage model" field, we select the "Default Stage Model". This is the standard default stage model that comes with the WorkPoint provided business module template for Projects business modules. If you have other stage models defined for your business module, you can select between them here.
- In the "Stage" field, we can select a "Start" or "StartAndStandard" stage from the selected stage model. Alternatively, we can reference a stage (or content type id), as we have done here. "EntityForm.ContentTypeId" is a reference to the stage selected on the Entity form step, and guarantees that the new project will be created using the stage that the user selects in the Entity form.
That's all we need to set up in the process. We can now save it:
- If you simply want to save the process and exit, you can click the "Save as draft & Exit" button. In this example we also want to publish the process after we save it, so we click the "Save as draft" button (only published processes can be run in WorkPoint).
- Note that each draft save increments the minor version number of the process.
Next, we publish the process:
- To publish the process, we click the "Publish" button.
Each publication of a process resets the minor version number and increments the major version number by 1 and shows as "PUBLISHED":
2.2. Creating My Tools button
In this section, we will create a My Tools button to run our New Project process.

- In the side panel of the WorkPoint Administration, we expand the "User Experience" tab and select "My Tools".
- We create the new My Tools button in the "New" button group.
- The title of the button is set to "New Project".
- We select a suitable icon for the button, in this case the "Project" icon.
- For "Type" we select "User Process". This enables us to select among our configured User Processes which process should run when the button is clicked.
- In the "Process" selector, we select the "New Project" process we created earlier.
- To save the button configuration, we click the "Save" button.
In order to use the new button, we first need to clear the WorkPoint 365 browser cache:

- On the WorkPoint solution, we click the "Home" icon.

- In the bottom of the side panel, we click "Need help?"
- Next, we click the "Clear WorkPoint 365 browser cache" button.
The page no reloads, and the new My Tools button is available for use.
3. User Guide
In this section, we will demonstrate the use of the New Project process we created earlier. We will run the process from the My Tools button we also created as part of this article.

- In the My Tools panel, we click the "All actions" button.

- In the "All actions" menu, we select "New" and the select "New Project".
This opens the "New Project" process configured earlier:
- In the "Steps Overview" section, we can see an overview of all the steps the process needs to go through. The current step is highlighted.
- In the main part of the process form, we can input meta data for our new project, such as Title, Project ID, and Project Manager.
- When we have filled in the necessary meta data, we can click the "Continue" button to go to the next step in the process.
The next step in the process does not require any input from the user. It instead shows a progress bar for starting the site creation job for the new entity:
Once the site creation job is started, the process shows a "Process Succeeded" message, and we can close the process by clicking the "Close" button:
- The new project is created and can be viewed in the "Projects" business module list. The site is currently still under creation.
Comments
0 comments
Please sign in to leave a comment.