Camunda workbench "Getting started"

107 views
Skip to first unread message

uw....@googlemail.com

unread,
Sep 6, 2015, 3:17:28 PM9/6/15
to camunda BPM users
Hi,

I really see high potential in the workbench approach and would like to play with it more than I did in the past.

But...I'm a little bit stuck at the javascript api that is used at the implemented shell/command line console.

There are some videos on vimeo
https://vimeo.com/122464623
https://vimeo.com/122449242

...and I could find at least a 'setVariable' command which can be used to change the value of process variables.

Is there any api reference to that javascript api, that is used in the console?
Perhaps it can be found somewhere but I couln't find it both in the REST and Java API doc, but could be that I'm blind at that point.

Any hint?
For me Javascript would be enough, but could imagine some people would like a Jython or Groovy - getting started for the workbench console, too.

Thanks for any help here!
Uwe

Christian Lipphardt

unread,
Sep 6, 2015, 3:45:00 PM9/6/15
to camunda-...@googlegroups.com

Hi Uwe,

Afaik the Javascript API is the same as the Java API. I think it is somehow lookuped through reflection or something like that on the server side. See workbench -  maven module 'api / debug-core'. Package 'completion' as a starting point.

Cheers,
Christian

--
You received this message because you are subscribed to the Google Groups "camunda BPM users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to camunda-bpm-us...@googlegroups.com.
To post to this group, send email to camunda-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/camunda-bpm-users/960421c7-1734-4dee-af94-8a35814aecc2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Daniel Meyer

unread,
Sep 7, 2015, 2:31:46 AM9/7/15
to camunda-...@googlegroups.com
Hi Uwe,

The javascript you type into the console is executed on the server.
The variable named 'execution' is the same object that is passed in to a
JavaDelegate implementation.

For API reference, see:
-
http://docs.camunda.org/7.3/api-references/javadoc/org/camunda/bpm/engine/delegate/DelegateExecution.html
-
http://docs.camunda.org/7.3/api-references/javadoc/org/camunda/bpm/engine/delegate/VariableScope.html

Regards,
Daniel
Reply all
Reply to author
Forward
0 new messages