Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 05-31-2018 07:21 PM
Hello!
I have a flow that the first box is scheduled with cron. The cron is configured to execute every hour.
At the start of the flow, I have to read a variable that I have set at the end of the last execution.
How could I set a variable a variable at the end of the flow and how to read it at the start of the next execution?
I have searched a lot and I saw something about context variable and counters. Maybe is it a way?
Thanks!
Best regards,
Robert
Created 06-01-2018 01:35 AM
You can use Put/Fetch Distributed Map Cache processors to set some value for the variable(attribute) at the end of flow then retrieve the already set value at starting of the flow.
Flow:
1.Trigger the flow with cron
2.FetchDistributedMapCache Processor //to fetch the value that got set up last execution
3.do some processing
4.PutDistributedMapCache Processor //set the new value for the variable
Refer to this link to configure/Usage of Put/Fetch DistributedMapCache processors.
-
If the Answer addressed your question, Click on Accept button below to accept the answer, That would be great help to Community users to find solution quickly for these kind of issues.
Created 06-01-2018 01:35 AM
You can use Put/Fetch Distributed Map Cache processors to set some value for the variable(attribute) at the end of flow then retrieve the already set value at starting of the flow.
Flow:
1.Trigger the flow with cron
2.FetchDistributedMapCache Processor //to fetch the value that got set up last execution
3.do some processing
4.PutDistributedMapCache Processor //set the new value for the variable
Refer to this link to configure/Usage of Put/Fetch DistributedMapCache processors.
-
If the Answer addressed your question, Click on Accept button below to accept the answer, That would be great help to Community users to find solution quickly for these kind of issues.
Created 06-04-2018 04:15 PM
Thanks, this solution is was I needed!