cancel
Showing results for 
Search instead for 
Did you mean: 

How to add global counter variable in workflow

purohitsumit
Champ in-the-making
Champ in-the-making
Hi All,

I am trying to add a custom workflow and want to assign it a sequential auto-increment number.
What is correct way of adding it. ?


I don't want to use "task-id" as its number may get updated by various other task where as I only want to increment counter only if my custom workflow is called.

Thanks
Sumit Purohit
3 REPLIES 3

romschn
Star Collaborator
Star Collaborator
Could you please elaborate more on your requirement? Do you want to maintain a counter number in order to identify how many workflow instances have been initiated for your custom workflow or you are trying to achieve something else.

purohitsumit
Champ in-the-making
Champ in-the-making
Hi Ramesh,

Let me try elaborate my requirement.

I have a custom workflow called "ABC". I want to assigned a number (starting from 1) to it every time this workflow is called by any user. This way every instance of workflow "ABC" get an id.

thanks

romschn
Star Collaborator
Star Collaborator
Each time a workflow gets initiated, the workflow process instance gets assigned a unique workflow instance id - workflowid. Have you checked that or still you want to separately maintain a coutner for your workfow?
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.