Good evening,
Problem : I need to let an actor to start a called process ( be an initiator ) when a main process call that process:
- The called process should be initiate any times that the actor wants (thats why i need him to be a initiator), and the time that he should be initiating the process is defined in the call activity process.
- If i set an initiator to the called process, that actor can start the process without the call of the main process. I need to dynamically set that initiator group or actor as the process is called.
- I searched in javadoc of Bonitasoft some class like “setInitiatorActor”, and i didn’t get any close to that.
If you guys have another idea that this can be done, like an application page, or something, please give your oppinion, it will be considered.
Appreciate,
Lucas Hort.
Actually in the called process you can choose not to put the flag initiator on any of the actors.
This way users will not be able to manually start the called process and only the process with the call activity will be able to start it.
Right now there is not button to remove the initiator flag on an actor. Workaround is to delete the actor and recreate it (I report the issue).
So you want the called process to be only start using the call activity, is that right?
Yes, basically i need to let start a process when this main process in the picture above call it.
**Context **: Teachers will have permission to submit research projects more than once, a chanceler will set the time they can submit ( picture above), the called process could be initiate any time to those people submit their projects, more than once and when they want.
I could only disable the process and enable when the chanceler wanted to open the submission of those projects, but i need that to be automatic. I don’t think that could be possible. If you have some idea, it will be appreciate.
Yes, i did that, but the need is to enable to start a process with a programmed timer. When the timer is over, the actor can’t start the process anymore. It’s really difficult to explain…
If i can’t do that, i think it will have to be manually, disabling and enabling by an admin…
So if I understand correctly the user can manually start the process for example for 2 weeks. If after two weeks the user didn’t start the process, the process is started automatically.
Is my understanding correct?
Almost , after 2 weeks, he would be unable to start the process, the process would be disabled.
But your idea is close, is basically that