Documentation

Trace:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
workflow:server:start_workflow [2020/02/21 11:51]
admin created
workflow:server:start_workflow [2020/02/21 11:52]
admin
Line 1: Line 1:
 ~~NOTRANS~~ ~~NOTRANS~~
 ~~Title: Start Workflow on server-side~~ ~~Title: Start Workflow on server-side~~
-If you want to start a specific Workflow on server-side in an [[jvx:​server:​lco:​actions_in_objects|action]] ​or your [[jvx:​server:​lco:​lifecycle|life-cycle object]], it's straight forward. Simply use the workflow access object and call one method:+If you want to start a specific Workflow on server-side in an [[jvx:​server:​lco:​actions_in_objects|action]] ​of your [[jvx:​server:​lco:​lifecycle|life-cycle object]], it's straight forward. Simply use the workflow access object and call one method:
  
 <code java> <code java>
Line 13: Line 13:
 WorkflowAccess.getCurrentInstance();​ WorkflowAccess.getCurrentInstance();​
 </​code>​ </​code>​
-tries to access ​the workflow access object ​from the current ​[[jvx:​server:​lco:​sessioncontext|SessionContext]].+tries to get the workflow access object ​via [[jvx:​server:​lco:​sessioncontext|SessionContext]].
  
 If you don't run inside the life-cycle scope, use If you don't run inside the life-cycle scope, use
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information