DCR Portal 6.9 supports simulating with effects. In order to use this feature your organization must be configured properly. The CVRAPI.dk effect is also available in the Community area of the DCR Portal.
The model is quite simple.
First the user enters the Danish CVR number (CVRNumber activity to the left).
Then the Robot automatically executed the activity "lookup CVR number"; which invokes the CVRAPI.dk service to retrieve the company name.
If the result from the service is successful the activity "company name" should be executed.
If the result is not successful, the user is told and must enter a new CVR number.
If we simulate and enters "39351781" as the CVR number we get this result:
If we remove the last 1 from the CVR number and tries again we get this result: