Skip to main content
Nintex Community Menu Bar
Solved

Get Task Actions based on Serial Number

  • November 21, 2019
  • 2 replies
  • 109 views

Hello,

 

How do I get the Actions associated with a USER TASK by sending the serial number?

Since my workflow holding 18 User Tasks and having different Actions associated with each USER TASK.

 

Please help me.

 

How do I can achieve this?

Thanks,

Gelli2016

Best answer by boringNerd1

Hi,


 


The task serial number comprise of two components, the process instance ID and the activity instance destination ID. You shoud notice the serial number is in the following format: XX_YY


 


XX refers to the process instance ID


YY refers to the activity instance destination ID


 


You can run the following query on your K2 database to retrieve list of actions that the user is allowed to perform on the task:


 


SELECT [ActionName]


FROM [Server].[ActionActInstRights]


WHERE [ProcInstID] = <Process Instance ID> AND [ActInstDestID] = <Activity Instance Destination ID>


 


 

View original
Translate
Did this topic help you find an answer to your question?

2 replies

Forum|alt.badge.img+15
  • 498 replies
  • Answer
  • November 22, 2019

Hi,


 


The task serial number comprise of two components, the process instance ID and the activity instance destination ID. You shoud notice the serial number is in the following format: XX_YY


 


XX refers to the process instance ID


YY refers to the activity instance destination ID


 


You can run the following query on your K2 database to retrieve list of actions that the user is allowed to perform on the task:


 


SELECT [ActionName]


FROM [Server].[ActionActInstRights]


WHERE [ProcInstID] = <Process Instance ID> AND [ActInstDestID] = <Activity Instance Destination ID>


 


 

Translate

  • 55 replies
  • February 21, 2020
Can this be done by using SmartObjects? Or do we have to create a Smartobject for the K2 database?
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