Hello everyone! I hope you're doing well.
I'm trying to use assignment at Process Modeler, and do an action related to update a record. (any of them). I can use the action if I don't assign it to anyone for approval.
I can't use any assignment>This node will be assigned as a task to a person or a group of people>user, I can't assign anything to anyone. I've tested with some update actions, in some records and there is the same error message, when I try to do de action, related to that process modeler.
Does anyone knows why I'm getting this error? Thanks in advance! Have an excellent day.
Best regards, Jose.
Discussion posts and replies are publicly visible
I'm not really clear on what's happening - could you provide some further detail as to the exact configuration of your related action? I don't immediately know why you would be getting an error message referencing JSON - are you intentionally passing JSON somewhere?
Hello Mike! thank you for your response,
I'm doing a generic update record action, in that action I'm trying to use assigned tasks to administrators, and get the email.
About JSON, I'm not passing anything (intentionally) related to it.
If I check the option #1. "This node will be ssigned as a task to a person or a group of people", just like the next screenshot, I will get the JSON error. I need to set "This node will run as an automated activity..." Option #2:
Those are my users.
This is my generic Process Modeler
Is there any information aditional that I can share with you?
From the looks of your first and last screenshots, you're trying to assign your WTDS node to a user/users - but this is not an attended activity, and should be set to run as an automated activity (preferably "run as whoever designed this process model").
The only attended activity I can see in your model diagram is the Start Node, which is not assignable as it will be completed by whoever starts the Related Action.
In very simple terms you shouldn't assign it to anyone, because it should be assigned to Appian. IDK what the JSON is about, but there you go. You most definitely DO want to "run as whoever designed this process model" because it will probably complain about user permissions if you don't.
FWIW, i think you accidentally replied to me instead of to OP.
Hello again Mike, Dave! thanks for your response, So sorry, let me see if I understand (is not an attended activity), basically I can't assign it to a user. Is there a way that I can build a verification step? In other words, I need an approval from an administratorl, before the database is updated.Thanks in advance!
If you need it to go through an approval before being written to the DB, you would add a User Input Task (assigned to the appropriate party, preferably a group) prior to the WTDS node. Then between the Task and the WTDS node, you would put an XOR gateway to handle alternative flow logic if the approver does something other than approving it.