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.
1. Starting Dry Run Mode
There are different ways to start the Dry Run Mode after importing Policy.
1.1 From the Policies Page
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.
1.2 From Policy Configurator Page:
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:
1.3 By calling the API
Dry Run mode can be started by calling the following API:
To get complete information on the above API, please check : Dry Run policy
2. Exit Dry Run and return to Draft status
There are different ways to exit from Dry Run to Draft mode.
2.1 From the Policies Page
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.
2.2 From the Policy Configurator Page
Policy status can be changed from Dry Run to Draft/Publish by selecting from the drop down option in Policy Configurator Page.
2.3 By calling the API
Dry Run mode can be exited to Draft status by calling following API:
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:
4.4.1 From the Policy View Page
Virtual user can be selected by clicking on respective users in the drop down list as shown below:
4.4.2 By calling the API
Virtual user also can be selected by calling the following API:
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:
4.6.1 From the Policy View Page
All the transactions can be viewed by clicking on Transactions tab as shown below:
4.6.2 By calling an API
Transactions can also be viewed by calling the following API: