Comindware Knowledgebase

Calculate and log active time spent on a workflow step

Let’s calculate and log active time spent on a workflow step. To do so, the following rule should be added to transition rules.

To add the rule:

1. Select a workspace, select an application inside a workspace.
2. Create the required number of fields of the Date/Time type as in previous example.
3. Create several fields of the Duration type for logging active time of the required workflow steps.

You should reset your Duration and Date/Time fields before start using them. You can perform this operation on entering the start step of your workflow.

4. Click Form and drag all the created fields to the workflow task form.
5. Click Workflow.
6. Enter any transition settings and click the Pre-populate Fields tab.
7. Find the required field and type the following expression as the predefined rule:

ADD($Step_Active_Time, SUBTRACT($$now, $Enter_ Step))

This expression takes current time and time stamp was made on enter the step you just left (Enter_ Step) and calculates the difference. Then adds the result to the current value of the Step_Active_Time field. If a workflow task is returned to the step, duration of repeated activity will be added to the current field value.

Repeat the steps 5-7 for each transition using appropriate field identifiers.

To check how the created rules work, create a new workflow task and move it through workflow.

Send you request to Comindware Still need help? Contact us

See Also

Back to top

Cookies Settings

Privacy Basics

A cookie is a small file placed onto your device that enables website features and functionality.

A cookie is a small text file that a website asks your web browser to store on your device in order to remember information about you, such as your language preference, and enables a website features and functionality.

At Comindware, we believe in being clear and open about what data related to you we collect and how we use this data. And this policy provides detailed information about what cookies we collect and how we use data related to you. This cookies policy applies to Comindware website.

Always Active Cookies

Ensure your personalized experience and proper website work.

Always active cookies help us with giving you a personalized experience and cannot be switched off in our system. You can set your web browser to block or alert you about these cookies, but some parts of the website may not work then.


Performance Cookies

Are used for continuous website optimization and improvement.

Performance cookies help us with continuous website optimization and improvement. This cookies make it possible for us to count website visits, track traffic sources, learn which pages are the most popular and helpful and see how visitors navigate around the website. All the data these cookies collect is aggregated and therefore anonymous.

Google Analytics


Functional Cookies

Enable functionality enhancement, such as videos and live chats.

Functional cookies allow functionality enhancement, such as videos and live chats. If you do not allow these cookies, then some or all of these functionalities may not function properly.




Comindware uses cookies to ensure you get a great experience on our website - click "OK" button to agree our Privacy Policy. You can change your cookies preferences here.