You are currently reviewing an older revision of this page.

KB-XXXX ERROR:Work Item Cancelled (Data Inputs) thrown from a process model node

Symptom

A process model throws the following error, either when running or when a failed node is restarted.

Additionally, the following error appears in the application server logs:

23:14:38,580 INFO [stdout] (default-threads - 49) 2018-07-13 23:14:38,576 [default-threads - 49] ERROR com.appiancorp.ra.workpoller.WorkItemListener - The following exception occurred while attempting to complete work item [WORK_ITEM_DETAILS] - Exception:
23:14:38,580 INFO [stdout] (default-threads - 49) javax.resource.spi.work.WorkCompletedException: com.appiancorp.suiteapi.common.exceptions.AppianRuntimeException: com.appiancorp.security.authz.AuthorizationException: The user [USER] does not have sufficient privileges to perform the requested action because they are not in any role. (APNX-1-4188-001)

Cause

This issue typically occurs when the process initiator's user account has been deactivated after the process was started. Due to this, a permissions check fails when trying to execute some nodes, for example, User Input Tasks and some Unattended Activities.

Workaround

Temporarily reactivate the user account of the initiator and add the user to a group, then remove the user from the group before allowing the process to complete. In order to ensure the deactivated account cannot be accessed, change the e-mail address to something other than the user's actual e-mail address and reset the password via the Admin Console.

Affected Versions

This applies to all versions of Appian.

Last Reviewed: July 2018