Search code examples
business-process-managementbonita

How to restart the process if the result of the web service is false [BonitaSoft]


I have a process of Authentication which contain an instantiation form and a task connected to a web service which search for the username and tha password in the database and return 1 if it's exist and 0 if not. as you can see in the picture I could do this : if it's return 1 we pass to the step1 else we end the process enter image description here

what I want is if the web Service return 0 the process should be restarted automatically and come back to to the instantiation form !!


Solution

  • In order to access to Bonita Portal (and so to access Bonita forms) and Bonita Engine APIs a user need to be authenticated.

    Default authentication mechanism use Bonita users database to check username and password.

    Maybe tuning the default Bonita authentication configuration might answer your needs. Authentication process is fully documented in Bonita official documentation.