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.1K All Categories
- 61 General
- 11 Training
- 201 Installation / Setup
- 1.1K Flows
- 106 Rules
- 260 Administration
- 212 Portal
- 489 General Q & A
- 693 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 178 Pages
- 5 Process Mining
- New Features
- 178 Datastructures
- 69 Repository
- 219 Integrations
- 28 Multi-Tenant
- 27 SDK
- 76 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 66 Lunch And Learn Questions