Is it possible to update constant using flow step?

Is it possible to update constant using flow step?

Comments

  • Hi,

    We have a process that runs every hour and if for whatever reason it wasn’t able to run we’d want to know the last time it ran so we could fetch records back to that time and not miss any. We planned on running a flow and at the end of the flow updating the constant with the run time. Do you think this is the best way to keep track of the flows last run time or is there a better way?

    Thanks

  • Hi,

    We cannot use constants for this purpose, however, you can create a defined data structure and store related flow data in this data structure. I created a quick example and attached it to this email. In my example basically, I created a simple data structure (in my example FlowInformation) with FlowName and RunTime properties. Then I used Create FlowInformation step of that structure at the end of my sample flow. I mapped ID property of that step to FlowID and RunTime property to StartTime. So, when this flow runs it is actually updating the same one row, particularly the RunTime field of that database table. You can find a related report in my example folder.

    In addition to that, you can also reach all flow run information by navigating to System > System Tools > Flow Management. In case you need this report page can give you more detailed information about flows in Decisions.

    Please check below screenshots and attached project.

    [img]att1[/img]

    [img]att2[/img]

    [img]att3[/img]

Sign In or Register to comment.