Hi Guys,
So I'm trying to create a dynamic <SELECT> dropdown field in a workflow form. I want it to show the all users with the ROLE of "REVIEWER".
I was looking at the forums and reading documentation in hopes to figure this out on my own. I saw this post http://forum.openkm.com/viewtopic.php?f ... 1&start=15, but was unable to deploy the workflow if I tried:
Does anyone have any help or suggestions? I would greatly appreciate your help in the matter! Thank you so much guys!
So I'm trying to create a dynamic <SELECT> dropdown field in a workflow form. I want it to show the all users with the ROLE of "REVIEWER".
I was looking at the forums and reading documentation in hopes to figure this out on my own. I saw this post http://forum.openkm.com/viewtopic.php?f ... 1&start=15, but was unable to deploy the workflow if I tried:
Code: Select all
or
<select label="Assign User" name="username" type="simple" table="okm_user_role" className="openkm.select.values.ListClass" />Code: Select all
I would receive the errors:
<select label="Assign User" name="username" type="simple" table="okm_user_role" class="openkm.select.values.ListClass" />Code: Select all
As soon as I removed the class or className, the workflow would deploy. I've also tried running a query (I tested in Admin > Query to make sure it was the correct query):
Deployment Failed: Unexpected exception while receiving the response from the server.
Deployment Failed: The process archive could not be deployed.
Code: Select all
The workflow would deploy, but I would just get a SELECT field with no values. <select label="Assign User" name="username" type="simple" table="okm_user_role" optionsQuery="SELECT UR_USER FROM `okm_user_role` as role WHERE UR_ROLE in('REVIEWER')" />Does anyone have any help or suggestions? I would greatly appreciate your help in the matter! Thank you so much guys!
Last edited by alexwgordon on Fri Sep 04, 2015 4:46 pm, edited 1 time in total.
