Increment Value for a Variable in Workflow

Hi Team,
I am working on a requirement where there is a variable with a numeric value as 23434 and i want to increment this by 1 and have the variable as 23435. Just need to increment the value in the workflow using variable. Has anybody done this before? Can this be achieved in a Workflow ?

I doubt that can be done. In the define variable operator you have a way to add/ time, do substring, trim, replace on string. But there is no option to increament numbers. So, I think it is not possible.

I have a similar use case and had hoped to find a positive answer, but I also expect that this is not possible currently.

Hi @RAKRHEEM

We don’t have this yet .

If it is very important
I’ll do something like this :

Create a custom API which can do this and utilise it with HTTP action .

For example :
I have this api deployed on replit.com , which does this operation for me .

Check out :
My Custom API

Cons:

  • Workflow Dependency on Third Party Server
  • Monitoring the API Server

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.