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]
Howdy, Stranger!
Categories
- 4.2K All Categories
- 67 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 490 General Q & A
- 695 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 179 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions