Process execution and email transfer

1
0
-1

Hello Bonitasoft Community memebers,

I have a question please: To a task I have assigned a connector out (an email connector), I would like to know if the content of the email must be written during the configuration of the email connector or it is during the execution of the process that the actor writes the content of his email and then sends it?

Thanks

1 answer

1
0
-1

Hello Christ_Bryan,

I'd say that it depends on what you're trying to achieve. If you add the content of the email on the configuration, you'll be hardcoding it so if you wish to change it you'll need to deploy a new version of the process. This could be the case is you're using an automatic task. I'd say the second case that you're describing is more commonly used. For example a human task in which the person is responsible of writing and sending the email.

I'd recommend takin a look at this contribution: https://community.bonitasoft.com/project/bonita-connector-email-reader

Cheers!

Comments

Submitted by Christ_Bryan on Fri, 12/02/2022 - 11:39

Hello Thalia.

Thanks.

I also have another question: Is it possible to create an email for a group in Bonita? If yes please a guide on how to do it

Cheers!

Submitted by thalia.cruz on Fri, 12/02/2022 - 11:45

What do you mean by an email for a group?

Submitted by Christ_Bryan on Fri, 12/02/2022 - 11:58

For example in the Bonita tutorial at the level of the email connector, it said that we should put the hr@acme.com as the email for the hr group and I am not understanding where0the email is coming from that is why I was asking if we can create an email for group belonging to an organization(where if i would like to send an email for example to the human resources group, instead of putting the email of all the users in the recipient field I just put the email belonging to the hr group)

This is a screenshot of what I am talking about from the tutorial.

https://ibb.co/3BJnD0B

Submitted by Christ_Bryan on Fri, 12/02/2022 - 12:37

Also

I would also like to know if it is possible that during a process execution an actor can upload a document. Because I have created a human task and at that level I would like the actor to upload a document. If it is possible do you have a guide to show how to do it please?

Best Regards

Submitted by thalia.cruz on Fri, 12/02/2022 - 13:06

For the email for a group, you would need to configure it according to the email provider you're using. It is not on Bonita. For example, if your enterprise uses Google as email provider, you'll need to ask your administrator for a Group: https://support.google.com/groups/answer/2464926?hl=en

Submitted by Christ_Bryan on Fri, 12/02/2022 - 13:16

Ok thanks.

Concerning my question on document uploading. You did not answer please.

Best Regards

Submitted by Christ_Bryan on Fri, 12/02/2022 - 13:17

Ok thanks.

Concerning my question on document uploading. You did not answer please.

Best Regards

Submitted by thalia.cruz on Fri, 12/02/2022 - 13:19

About your question on uploading a document: UIDesigner has a file upload widget.

To go further, you can check the examples:

Hope this helps.

Cheers!

Submitted by Christ_Bryan on Fri, 12/02/2022 - 13:35

Thanks

Best Regards

Submitted by Christ_Bryan on Fri, 12/02/2022 - 13:38

By using the upload widget of Bonita to upload a document, Bonita has a sufficient storage memory for documents? And where does it stores it?

Best Regards

Submitted by thalia.cruz on Fri, 12/02/2022 - 14:45

To better understand how Bonita works with documents, I recommend reading this part of the documentation:

https://documentation.bonitasoft.com/bonita/2022.2/data/documents

https://documentation.bonitasoft.com/bonita/2022.2/data/list-of-documents

Submitted by Christ_Bryan on Fri, 12/02/2022 - 16:20

Okay thanks.

I finished setting up my Bonita solution and when I execute my process a form appears and I have to fill the form, but when I fill the form and submit it returns the error:

USERNAME=walter.bates | org.bonitasoft.engine.commons.exceptions.SRetryableException: javax.persistence.PersistenceException: org.hibernate.PropertyValueException: not-null property references a null or transient value : com.company.model.MissionManagement.mission_fees

It seems like it says there is a problem with the field mission_fees found in my business data model that it can not be empty but at the beginning of the process that field does not exist in my form it is at the level of another actor that the fields for mission fees appears since in the contract the first actor does not provide mission fees.

Help please.

Best Regards

Notifications