Description Participator of the program will be issued a permit and notified via the permit issuing platform and/or be printed out the permit document with an official stamp. Provided that Their application was reviewed and approved, any optional in-person inspections have been conducted and all outstanding fees have been paid. Step 1: Check the status of participator’s applicationDescription: System or governmental officials checks if the application was reviewed and successfully approved and if no payments are due and the application can be proceeded to be closed and permit be issued. Step 1.1: Check whether the application was approved or not Code Block |
---|
Feature: Check the status of an application
Scenerio: Participator's application has been approved
Given the application has been approved
And any optional in-person checks have been conducted
When governmental official doesn't see any outstanding issues
Then the application is ready to be closed
And permit is ready to be issued |
Relevant Digital Registries BB endpoints: Step 1.2: Check whether all fees were paid Code Block |
---|
Feature: Check payments for the permit of an application
Scenerio: All payments connected to the application were paid
Given the application has been approved
And all final payments have been paid
When governmental official doesn't see any outstanding issues
Then the application is ready to be closed
And permit is ready to be issued |
Relevant Payments BB endpoints: Step 2: Permit issuingDescription: Creating a workflow for procuring the permit and notifying all relevant individuals/stakeholders. Permit is issued on an official platform used for permit issuing. Governmental official can either use the created workflow or issue the permit manually. Step 2.1: Create a workflow for issuing a permit (optional) Code Block |
---|
Feature: Create new workflow
Scenerio: Create new workflow for issueing permit for the approved application
Given that the application is ready to be closed
And permit is ready to be issued
When governmental official connects Workflow BB to Digital Registries BB
And initilizes the workflow creation
And governmental official sets the change of a the status of the application to "Permit Issued" as trigger
And a new permit document is automatically created after the status change
And all data from the application match data in the new permit document
And the new permit document is uploaded on a governmental platform for issued permits
Then new workflow is created
And new trigger is created
And a whole workflow is saved |
Relevant Workflow BB endpoints: Relevant Digital Registries endpoints: /data/{registryName}/{versionNumber}
/data/{registryName}/{versionNumber}/update
/data/{registryName}/{versionNumber}/create
Step 2.2: Create workflow for notifing the participator of the issued permit (optional) Code Block |
---|
Feature: Create new communication workflow
Scenerio: Create new workflow for notifying the participator about the issued permit
Given the worker has access to the workflow management (to nowa rola)
And Workflow is connected to the Digital Registry BB
And Workflow is connected to the Scheduler BB
And Workflow is connected to the Messaging BB
When governmental official creates new communication workflow
And the permit was issued
And participator has consented to receiving messages
And content of notification messages was prepared
And participator contact information is in the DB
And successful upload of a permit on a governmental platform for issued permits is set as a trigger
And designated email provider relays this message through Scheduler BB to Messaging BB
Then new workflow is created
And new trigger is created
And a whole workflow is saved
|
Relevant Workflow BB endpoints: Relevant Messaging BB endpoints: Relevant Scheduler BB endpoints: Relevant Consent BB endpoints: Step 2.3: Issue and publish the permit Code Block |
---|
Feature: Issue and publish a permit
Scenerio: Issuing permit for the approved application and publish it on governmental platform
Given that the application is ready to be closed
And permit is ready to be issued
And all relevant workflows were created
When governmental official triggers the permit issuing workflow
Then a new permit document is created
And all data from the application match data in the new permit document
And the new permit document is now available on a governmental platform for issued permits |
Relevant Workflow BB endpoints: Step 2.4: Notify the participator of the issued permit Code Block |
---|
Feature: Notify the participator
Scenerio: Notify the participator about the issued permit
Given that the permit was issued
And participator has consented to receiving messages
And content of notification messages was prepared
And participator contact information is in the DB
And all relevant workflows were created
When a set workflow is triggered automatically
Then the notification email is send |
Relevant Workflow BB endpoints: Relevant Messaging BB endpoints: Step 43: Verify the issued permit authenticity and validityDescription: When there is a verification onsite for the construction, a governmental official conducting the verification can validate the permit of the person responsible for the construction. Code Block |
---|
Feature: Verify the permit
Scenerio: Verify that the permit is authentic and valid
Given that the governmental official wants to verify the permit
When the governmental official checks the permit id in the governmental platform
Then the permit information can be read online
And permit data matches the information about a construction that is being verified |
Relevant Digital Registries endpoints: |