๐ปDry Run Mode using UI
Last updated
Last updated
In this mode of operation all artifacts (files, documents and transactions) that are produced in the course of execution of the policy are stored in the local database but not sent out to Hedera or IPFS. The artifacts are stored in the database in a separate table specific for the โdry runโ mode. This also allows the trial for executing the workflow without real accounts.
There are different ways to start the Dry Run Mode after importing Policy.
When the Policy is imported, its in Draft status by default. This status can be seen in the Status/Actions column. To change the Draft status to Dry Run status, click on the drop down arrow and select Dry Run option.
When imported Policy is opened for editing, there's an option of changing the Policy status from Draft to Dry Run. The Dry Run option can be selected by clicking on drop down arrow and selecting Dry Run option as shown below:
Dry Run mode can be started by calling the following API:
To get complete information on the above API, please check : Dry Run policy
There are different ways to exit from Dry Run to Draft mode.
Policy, which are in the Dry Run status, can be changed to Draft/Publish state by selecting respective option from the drop down arrow. To change the Policy status to Draft, please select Stop option and to change the Policy status to Publish, please select Publish option.
Policy status can be changed from Dry Run to Draft/Publish by selecting from the drop down option in Policy Configurator Page.
Dry Run mode can be exited to Draft status by calling following API:
To get complete information on the above API, please check : Return policy to editing
There are two ways to open the Policy in Dry Run mode:
To open the Policy in Dry Run mode, click on a Go button in the Operation column.
There's a Go option in Policy Configurator page to view the Policy in Dry Run mode.
This option is used to navigate back to the Policy Configurator page to edit the Policy in Dry Run mode.
Restart is used to reset the state of the Policy by removing all the records for the previous โDry Runโ of the Policy. It can be performed by different ways:
By clicking on Restart button, which is located beside View Config.
Restart can also be performed by calling the following API:
To get complete information on above API, please check :Restarts the execution of the policy
The system provides a facility for the creation of โvirtualโ users to enable the โDry Runโ execution flow.
Virtual User can be created by clicking on Create User button as shown below:
Virtual User for Dry Run can also be created by calling following API:
To get complete information on the above API, please check : Create a new virtual account
Allows to switch between virtual accounts of users. For a single policy in the โDry Runโ mode a Standard Registry can be operating as a single (virtual) user at any point in time. This is enforced on the server.
Virtual user can be selected in multiple ways:
Virtual user can be selected by clicking on respective users in the drop down list as shown below:
Virtual user also can be selected by calling the following API:
To get complete information on above API, please check : Logs virtual user into the system
This option is used to view complete Policy with its tabs in it.
This tab shows the list of mock transactions performed as part of the execution of the policy. These transactions do not actually get executed, they will be performed when the policy runs in the production mode. These transaction records only exist in the local database.
These transactions can be viewed in different ways:
All the transactions can be viewed by clicking on Transactions tab as shown below:
Transactions can also be viewed by calling the following API:
To get more information on the above API, please check:Returns lists of virtual transactions
This tab contains the list of documents created during the execution of the Policy.
These Artifacts can be viewed in different ways:
All the Artifacts can be viewed by clicking on Artifacts option as shown below:
We can also view Artifacts list by calling the following API:
This tab shows the list of files that would have been saved in IPFS during the execution of the policy. In โDry Runโ these files are not exported into IPFS and only exist in the local database.
There are different ways to view the list of files:
To view the list of the files, that will be stored in IPFS, click on IPFS option as shown below:
The IPFS files list can also be viewed by calling the following API:
To get complete information on the above API, please check :
To get complete information on above API, please check :