Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

Avatar

Avatar
Boost 100
Community Advisor
Florian_Courgey
Community Advisor

Likes

100 likes

Total Posts

89 posts

Correct reply

19 solutions
Top badges earned
Boost 100
Contributor 2
Give Back 50
Ignite 10
Give Back 25
View profile

Avatar
Boost 100
Community Advisor
Florian_Courgey
Community Advisor

Likes

100 likes

Total Posts

89 posts

Correct reply

19 solutions
Top badges earned
Boost 100
Contributor 2
Give Back 50
Ignite 10
Give Back 25
View profile
Florian_Courgey
Community Advisor

27-06-2019

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 Comments

Avatar

Avatar
Contributor 2
Community Advisor
Marcel_Szimonisz
Community Advisor

Likes

120 likes

Total Posts

253 posts

Correct reply

63 solutions
Top badges earned
Contributor 2
Ignite 20
Give Back 200
Give Back 100
Ignite 10
View profile

Avatar
Contributor 2
Community Advisor
Marcel_Szimonisz
Community Advisor

Likes

120 likes

Total Posts

253 posts

Correct reply

63 solutions
Top badges earned
Contributor 2
Ignite 20
Give Back 200
Give Back 100
Ignite 10
View profile
Marcel_Szimonisz
Community Advisor

28-06-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

Avatar

Avatar
Boost 100
Community Advisor
Florian_Courgey
Community Advisor

Likes

100 likes

Total Posts

89 posts

Correct reply

19 solutions
Top badges earned
Boost 100
Contributor 2
Give Back 50
Ignite 10
Give Back 25
View profile

Avatar
Boost 100
Community Advisor
Florian_Courgey
Community Advisor

Likes

100 likes

Total Posts

89 posts

Correct reply

19 solutions
Top badges earned
Boost 100
Contributor 2
Give Back 50
Ignite 10
Give Back 25
View profile
Florian_Courgey
Community Advisor

05-07-2019

Thanks Marcel

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

20190705-094124-screenshot-1.jpg

How are they defined?

Avatar

Avatar
Applaud 1000
Employee
Sukrity_Wadhwa
Employee

Likes

236 likes

Total Posts

1,076 posts

Correct reply

45 solutions
Top badges earned
Applaud 1000
Give back 600
Give Back 500
Give Back 400
Give back 300
View profile

Avatar
Applaud 1000
Employee
Sukrity_Wadhwa
Employee

Likes

236 likes

Total Posts

1,076 posts

Correct reply

45 solutions
Top badges earned
Applaud 1000
Give back 600
Give Back 500
Give Back 400
Give back 300
View profile
Sukrity_Wadhwa
Employee

18-08-2021

 
Status changed to: Investigating