I am attempting to programmatically get all users from a lane. I have found
http://docs.runmyprocess.com/API_Reference/FM/User.html#get_lane_users
Which seems perfect for my needs.
However, when I try it I get an error message:
Unable to load application config
Cannot build an exception from Json {"error": null}
Bad Request
So something has gone wrong.
My code is simple so far:
console.log( ${ get_lane_users( 117899, 424563 ) } );
I suspect that poolId is the organization id and that laneId is the user group?
I'm not entirely certain here.
I have added pictures of the organization and user group from where I have gotten the id's.
As well as the error message, for good measure.
Regards
Svensson, Peter
Svensson, Peter
--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum+unsubscribe@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/54fc32b7-1094-404f-9b47-b6fb5b08c585%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.
I did not get it working in JS.
managers = ${ get_lane_users(117899, 424563) };
Running it directly in Freemarker works however:
<#assign managers = get_lane_users(117899, 424563) >
Is there someway I have missed to run it from a web-interface?
Regards
Svensson, Peter
Regards
Svensson, Peter
--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum+unsubscribe@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/85680e0d-9f06-45f1-9d0b-11c25c4420b0%40runmyprocess.com.
All right, thank you.
I will do that :)
Regards
Svensson, Peter