Skip to main content
Nintex Community Menu Bar
Solved

K2 Cloud Workflow API - Need to change workflow stage

  • July 1, 2022
  • 2 replies
  • 27 views
  • Translate

JohnHolmes
Forum|alt.badge.img+1

I need to change the workflow stage of an existing instance of a workflow within K2 cloud using the API (or any mechanism that I can automate). This is available on K2 Five On-Prem via the SourceCode DLLs using .NET/Java or PowerShell but not via the REST API that I can see.

 

I also need to be able to either close or delete a running workflow instance programatically.

 

Does anyone have any suggestions?

 

The background is that we are migrating from K2 5 to K2 Cloud and there isn't that I am aware of any way to transport existing workflow instances while running. I can get all the information from the K2 5 platform regardinh existing instances and where they are in the workflow but I then need to start matching instances in the Cloud version and set them to the correct workflow stage. All the Code and databases are migrated ready and synced, it's just the workflows that are my issue.

Best answer by tbyrne777

Under System -> Management -> Workflows -> SmartObjects there is a SmartObject named "Activity" that has a "GoToActivity" method that should suit your needs to move an existing process instance to a particular step.
View original
Did this topic help you find an answer to your question?

2 replies

Forum|alt.badge.img+13
  • Scholar
  • 499 replies
  • Answer
  • July 1, 2022
Under System -> Management -> Workflows -> SmartObjects there is a SmartObject named "Activity" that has a "GoToActivity" method that should suit your needs to move an existing process instance to a particular step.
Translate

JohnHolmes
Forum|alt.badge.img+1
  • Author
  • Rookie
  • 4 replies
  • July 5, 2022

Thanks for the assistance with this, this look like what I need. I'll see if I can use the SmartObject OData interface to access this.

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings