Use variable from main process in subprocess: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

31 January 2023

  • curprev 12:0712:07, 31 January 2023Smtxwiki talk contribs 425 bytes +81 No edit summary
  • curprev 12:0612:06, 31 January 2023Smtxwiki talk contribs 344 bytes +344 Created page with "Insert a step of the type 'Execute Javascript' Run this script: Note: enter the name of the variable of the main proces where is says: VARIABLENAMEHERE var url = #REPLACE-STEP-LINKONLY#; var processInstanceId = +url.split('processInstanceId=')[1].substr(0,6); return WorkflowInterface.getVariableValue(processInstanceId, 'VARIABLENAMEHERE');"