K2 SmartForms - Drop Down list to dynamically populate with active Workflow Templates

  • 29 October 2019
  • 2 replies
  • 114 views

Hi,

 

I'm trying to create a Smart Form with a drop down list to dynamically populate the list with all Workflow Templates in the System which the user has access to.  Is there anything out of the box to do this?

 

If not, can anyone advise the best way to do this?

 

Thanks!


2 replies

Hi   @JoseAldana,


 


Are you looking for something related to this post:


https://community.k2.com/t5/K2-Blackpearl-Forum-Posts/Unable-to-populate-List-of-Actions-in-DropDown-List/td-p/95189


 


Please let me know if this is what you are looking for so we can kindly continue to assist you.


 


Kind regards,


Dumisani

Badge +4

Hi!

Are you with Workflow templates meaning that you want to list all the workflow definitions that is installed in the K2 environment?

In that case there is a system smartobject you can use below category Workflow Reports/Workflow General/Process Overview. In the image i'm running it from the smartobject service tester but it's found in the same structure in designer or management. This SMO lists all the Workflow/Process definitions that are deployed to K2.

And this list is trimmed so you only see the ones you have permissions to see.

 

 

 

Regards

Daniel

Reply