With this block you are able to get values from another record or do some complex calculations on multiple records.
This block could be used to execute a Expression you could configure in the context of every record, which match the Record Selection.
This means all simple variables you could access ($id, $name, …) are loaded from the external record.

Because of the Record Selection, there could be also multiple records. The expression will be executed one time for every record, independently.

You also could limit the number of result records and sort the records to only get the latest ones.

A special feature is, how the environmental variable $env will be handled, because they is also available inside the custom expression.
And every modification you do on this variable will be transferred back to the main record environmental variable AND to later executions of the same expression.
This means you have one could use this $env[..] variables for calculations, which are available also within the main workflow.
With this transmission you could collect records in your vtiger, if you simple add every record to an $env variable.

If the task couldn’t found any records match the condition in the selected module, the second “do not exist” output will be taken.

The record Selection is done by the default Record Selection component.

Example

execute Workflow/Expression with external Record

©2021 Redoo Networks GmbH
Powered with ♥ by XWiki