Question

Auto Increment in Workflows

  • 21 August 2020
  • 1 reply
  • 70 views

Userlevel 1
Badge +5

Hi,


 


Im trying to store data from a workflow directly into a smartobject using the smartobject method (create method). I have an "ID" number field that needs to be auto incremented. Is it possible to create an auto increment in workflows or are there any functions available for this?


1 reply

Userlevel 2
Badge +4

Hi  @Prineel 


 


I dont understand your question fully, But I think you can archive that by making the ID to be a Autonumber in the SMO.


 


If you are inserting to your SQL table remember to make ID auto increment.


e.g :when creating you table ---> 




  • ID int identity(1,1) PRIMARY KEY,



 


 


Regards


HulisaniN

Reply