Hello Community, 

We have a button in Freedom UI that calls a Business Process.

We want this button to be disabled at least for several seconds, till the process is completed. Clicking the button again, while the BP is still running might bring several issues to our logic.

(Printscreen: Button calling BP)

How can this be achieved?

Regards,Sasor

Like 1

Like

4 comments

Interesting idea :)

We could do with this.  I think I may have implemented this in the past by disabling the button on calling the process, and using the Send Message element at the end of the business process to publish a message that the client module is subscribed to to re-enable the button.

Hello community,

Is there any other way besides the Backend-Frontend websocket (which I havent tried yet)?

Sasori

Sasori Oshigaki,

As long as the process is not set to run in background, and you're starting the process via code, you can use the method outlined in the article below to know that the process has completed and re-enable the button without the need for messages: https://customerfx.com/article/starting-a-process-from-client-side-code-on-a-creatio-freedom-ui-page-and-getting-back-outgoing-process-parameters/

Ryan

Show all comments

Hi Community,

I copy the business process 'Create Opportunity from Lead v7.8.0' part of the OOB package 'OpportunityManagement' to my current package because i have to add an extra logic into it.

Question:

After copying the business process to our custom pacakge, should i deactivate the OOB process, and just keep the modified one in my custom package ?

All the best 

Sasori

Like 0

Like

3 comments
Best reply

Hello,

 

After copying and making modifications to the 'Create Opportunity from Lead v7.8.0' out-of-the-box (OOB) business process, it is advisable to deactivate it. Deactivating the OOB process ensures that only your customized version in the custom package is active and utilized in your system.

By deactivating the OOB process, you prevent conflicts and confusion that may arise from having multiple active processes with the same functionality. 

Hi, any update regarding the issue ?

Hello,

 

After copying and making modifications to the 'Create Opportunity from Lead v7.8.0' out-of-the-box (OOB) business process, it is advisable to deactivate it. Deactivating the OOB process ensures that only your customized version in the custom package is active and utilized in your system.

By deactivating the OOB process, you prevent conflicts and confusion that may arise from having multiple active processes with the same functionality. 

Thanks for the recommendation Anastasia

Show all comments