I š WEBCON BPS series: Part 05-08
Part 5: Greatly reduced testing time
Even a low code platform offers numerous opportunities to introduce problems in oneās application. Especially if the platform is feature rich and doesnāt focus on a single use case. We just donāt come around testing and the InstantChangeā¢ technology is one key feature, which let me fell in love with WEBCON BPS.
A workflow, or more precisely a workflow instance in WEBCON BPS, is stored as a data row. The instance is not started with a specific version of the workflow, it is unaware of the currently deployed version. It will use the deployed version when the workflow instance is āusedā in some way, for example when itās moved from one step to another, or better, from one state to another.
I can understand comments like: A workflow instance should use the version, which was valid, when it was started. There are benefits to this, but also numerous problems. Not the least of those is explaining to managers, that they need to approve numerous ongoing requests again, because they had to be started again to fulfill new policies. I wonder how many workflows had to be stopped and restarted after implementing new policies due to COVID.
Thanks to the fact that the workflow instance is just a data row, any deployed version is immediately effective. The new policies are in place and the workflow instance will carry on as nothing happened. You can imagine what this means for testing. This greatly reduces the wasted time:
- You can just use the existing data to verify any UI changes.
- You donāt need to recreate the test data, to fix bugs.
- Continue after fixing the bug without redoing everything will keep the employees happy.
This is possible because WEBCON BPS is transactional. If the transition from one step/state to another involves numerous actions, either everything is successful or none1.
This doesnāt mean, that you can test those actions only after saving your changes. In most cases you can actually test these already before saving. You can select the workflow instance, and the Designer Studio will run the action using, with the data of this workflow instance.
Part 6: Time to market
All of the previous parts have one thing in common they describe different aspects of WEBCON BPS which reduced the time to market. But donāt take my word for it just listen to Mike Fitzmaurice who described the different aspects in the WEBCON BPS 2023 Whatās new? webinar
Actually, I wanted to post about it later, but I started yesterday, 2023-06-05, an implementation for a generic āRisk Assessmentā after a meeting on Friday with Christian Sallaberger. Today Iāve finished the version we will review next Tuesday. It was decided in advance to spent two days (16 hours) on this. At this point in time we are short a few hours of the alloted time.
Application features:
- Create risk assessment based on risk objects
- Risk objects are categorizes
- A blank risk assessment can be started for an object or risks can be copied from any another assessment
- Risks are evaluated and an overview exists
- Measures can be defined for risks, which have a due date but can be postponed
- Measures define the new risk
- Once all measures are defined the assessment is moved to review and the risks are updated
- A date for a next assessment can be define
- Upon reaching the date, a new assessment is started reusing the risks of the latest assessment for the same object
- Thereās an overview of the Top risks across all objects
Relevant features provided by the platform
- Attachments to any workflow
- Commenting
- Audit trail
- Security model
- Mail system
Deploying the risk assessment, will contain the process, data model, form, UI elements, security settings as well as the configuration of the categories and objects. I do believe we will achieve our goal and I think this is a good example for āTime to marketā. Of course, one application alone would be a waste of for the Application factory WEBCON BPS. Other applications are in progress or planned, two of which are tightly integrated with Business Central.
Edit for the blog post: In the mean time, we have four applications live and two are waiting for ERP go live.
Part 7: Gather debugging information
In part 5 I talked about how WEBCON BPS greatly reduced the time spent on testing. What I didnāt cover was how you could actually identify a problem aka debugging.
You always know, how something should work out, after all you can take a look at the workflow definition, the paths, the actions and so on. For example, you defined a logic, which sends a mail to the person who receives the next task in a work-flow, except that this mail should only be send, if the person who caused the movement of the workflow is someone else. If they are the same, no mail is necessary. Of course, this works when you test it, but will it also work when you are not around?
In WEBCON BPS you know what was executed and not in a log file but at your finger tips where you need it. This kind of information, can be found in the workflow history. A detailed look at the history will also provide more information about the action, as you can see in the slide show and if you are an admin you can see even more. So, you donāt need to rely on the users memory, if they tell you which workflow it was, you will find the problem.
If the workflow needs to ātalkā with an external system, you can actually see the communication. Thereās no need to gather data from different sources and map them together. If you need to check what happened on 9th November 2021, you can just go to the workflow history and take a look at it. This makes auditors as well as developers really happy.
Up to now I talked about getting information when the workflow moved from one step to another, but what about errors in the browser and something fails or it takes a really long time? The user can just activate the diagnostic mode, save the session.
An admin can take a look at at what has been executed and even how long it took.
If you still werenāt able to solve the issue, your last resort would probably be to go to the user and see what he was doing, either in person or with some kind of screensharing. Thanks to WEBCON thereās no need for this. The user can grant you the permissions to impersonate him. Which allows you to do everything in the system with the users privileges instead of your own. But this is worth an own post and another reason why I š WEBCON BPS.
Part 8: Being CEO for a day (working on behalf)
The working on behalf features was introduced in WEBCON BPS 2022 and for me this one is revolutionary. Assume that you want to go on vacation and you have three different roles.
- As a superior you need to approve vacation requests
- As a project member you have your own tasks to work on
- As a member of the board committee, you have access to classified data
Before going on vacation, you can select:
- Tiffany to work in your name for the vacation requests.
- Kurt will take over your project tasks.
- No one should replace you in your board committee role.
Working on behalf, will allow Tiffany and Kurt to use the system as if they were you. For the allowed applications or whole platform, they
- will have your privileges.
- work on your tasks.
- start new workflows.
If they do something, this is logged in the history of course, that they did it in your name. I donāt know any other system which would allow this and especially not across all processes.
This is not only useful in daily business. You can āmisuseā this feature to:
- Do demos with different roles as a single person. Iāve used browser profiles before, but the change of the role was easily missed. This is not the case when using the Work on behalf feature.
- Tests the application with different roles.
- Debug a process if something only happens for a specific user. The user can simply tell the system that you are allowed to do so, and you can debug it in his name on your machine instead of stealing his time with a screenshare.
The last one is what I hinted at in my previous post Gather debugging information. Thereās only one last part missing in testing/debugging and that is sending mail by the system. This could get annoying for the users, if you use their accounts during testing. It wouldnāt be WEBCON BPS if WEBCON wouldnāt have you covered. :)
Series
Part | Title | Blog | |
---|---|---|---|
01 | 99% Low-code/no-code implementation 1% high code | Blog | |
02 | Leveraging benefits aka early go-live in < 2 month | Blog | |
03 | Transporting applications Dev->Test->Prod | Blog | |
04 | Change request thereās a typo | Blog | |
05 | Greatly reduced testing time | Blog | |
06 | Time to market | Blog | |
07 | Gather debugging information | Blog | |
08 | Being CEO for a day (working on behalf) | Blog | |
09 | I no longer hear āWho send these test mails?ā | Blog | |
10 | Yes, remove this ā¦ AARRRGH (Dependency tracking) | Blog | |
11 | From OnPrem to SaaS and back? Without migration effort? š¤£ | Blog | |
12 | Same process, multiple subsidiaries but different data sources? | Blog | |
13 | Ever evolving | Blog | |
14 | Multilanguage and evergreen documentation | Blog | |
15 | If you repeat yourself, you are doing it wrong | Blog | |
16 | In numbers I trust | Blog |
-
At least if you donāt communicate with external systems like uploading a document to OneDrive. You would need to handle the deletion of the document in an Error handler yourself.Ā ↩
Comments