Get doc for activities inputs/outputs (array vars.*) | Community
Skip to main content
Level 4
June 27, 2019
Investigating

Get doc for activities inputs/outputs (array vars.*)

  • June 27, 2019
  • 3 replies
  • 5980 views

Hi,

Activities create variables with the shared array vars.* and change the output schema

For example:

- Input example: A Loading data (file) configured with "specified in the transition" is in fact using "calculated: vars.filename", so any change to vars.filename before the data loading will corrupt it

- Output example: After a delivery, the transition contains the broadLog schema where vars.recCount is the total number of broadLogs

- Output example: A post-processing delivery workflow contains the delivery id via vars.deliveryId

Can we get documentation on all of this? It would be better than reverse-engineering and guessing the codebase..

Thanks

Regards

3 replies

Marcel_Szimonisz
Community Advisor
Community Advisor
June 28, 2019

I can add some more to bunch

You also can use :

vars.targetSchema which is only available after readGroup, query, enrichment, update schema and maybe more e.g. temp:readGroup

vars.recCount you have after every activity  giving you actual count in your transition which goes in hand with vars.tableName;

gives you sql name of temporary of any particular transition you want  wkf631754562_5

to list more you can go to schema workflowEvent and display Variables

Level 4
July 5, 2019

Thanks Marcel

Also, in a delivery, the "include" button displays the following:

How are they defined?

Sukrity_Wadhwa
Community Manager
Community Manager
August 18, 2021
No text available
Sukrity Wadhwa