I am trying to setup workflow so that when an object is created it sends an email to the person who created the object. As I can't seem to be able to do this out of the box (I have another thread Send email to creator of object when object created going)
I'm trying a workaround by having a field in the object that will capture the email and use that field to populate the Recipient field.
When I create the object and select myself in the User Picker custom field (Asset Owner) it successfully creates the variable and the email goes out as expected.
When I use select someone else OR someone else creates an object the automation is unsuccessful and throws an error (the object is created successfully though)
Note: The Actor in the Rule details is "Automation for Jira"
Any ideas why this error is occurring?
Hello @Trevor de Souza
What are the details of your Create Variable step?
Can you add a Log action after that to log the value of the Variable and the smart value you are using to set it?
Can you also provide the details of the Edit attribute step?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is the Create variable step. When I add a log action it successfully logs my email address but when I select my name from the User picker, but when I pick someone else, the log does not display any email address.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What are the roles for people on the assets schema?
Are all pepole who can action tis, at least in the developer role?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Marc - Devoteam,
I have put myself and the person I am testing with as Manager and Developer and still receive the same error. As mentioned, when I choose myself in the User Picker it works fine, but the moment someone else tries or I try and choose someone else I get errors.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you add log action in between, and see what that delivers in the audit log
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.