Hi everyone,
I have to set up a process that is always run, 24 hours a day, 7 days a week.
The process is based on receiving emails that are sent to the starting node, I don't know exactly when they are sent and above all the cadence of the process is random: even hundreds of emails per minute can be sent at the end of the day or at regular intervals.
How do you set the timer trigger for this case?
p.s: i don't have the license to integrate Appian with RPA
Thank you all.
Discussion posts and replies are publicly visible
@albertob5031 - As I understand, the process needs to trigger if mail receive? If yes, in the start node we can create a trigger a receive a message and configure the event as mail.(Also in the properties of process model set the public events check box as enable if anyone can trigger the process). Please confirm its helps you based on my understanding.
Thanks,
Pradeep Sridharan
yes that correct sir, i've set up the process model like this, so have i to include the received message into the start node configured as a trigger?
no warning here. This is how i configured the received node and the general process
What's your Process Model Security set to? That's what the red warning message I posted is referring to.
the admin group is set as administrator, the user group as viewer, for the others no setting such as in picture
As the message says, the process model will need to be made "public" (as in, any user can start it, as far as i know). I'm looking around now to try and remind myself what exact setting is used for that, but you might want to search on the same in the mean time.
it's already set on public, but still doesn't work. Now i change the security of the application, but still doesn't work
Sorry, I was incorrect - it appears you already do have the "public events" option selected. Are you saying that sending an email to the process doesn't successfully start it? Can you share details of what you've tried for this? Starting processes via email is not something I have too much experience with, though I do know it's supposed to be a supported use case.
Also note there may be some additional setup steps needed:
Also, what email address are you using? It doesn't seem to be made very clear in the documentation, but the format needs to be specific - "processmodel<process model id>@yourserver" - i.e. `processmodel1234@myProject.appiancloud.com` etc. I just tested this setup in one of my environments and it worked immediately (though I assume the necessary mail server setup detailed in my last reply was done a long time ago).
no sir, the emails are coming correctly, but it seems that the user "anonimous" (which is that one that Appian identifies as the user that send the email) doesn't have the right permission to perform some operations like write do data store entity in this case. I attach the error appeared and the flow process here
yes, it's the same format as mine, i don't have any problem for the reception of the emails, but for the other plug-ins in the process model with some permission as write/read, that still don't work
You will likely need to set those nodes to "Run as whoever designed the process model" - see the documentation for unattended activites: https://docs.appian.com/suite/help/latest/Process_Node_and_Smart_Service_Properties.html#unattended-activities
This is generally a good practice, but it will ensure that these nodes are run as the last person to publish the process model, and that user will usually have the appropriate level of security.