Skip to main content
Known Participant
Nov 20, 2023 12:12 PM UTC
Question

Error with write to record smart service

I am using write to record smart service in my process which is breaking when I start this process with a basic user who has a viewer permission on record (and that user can successfully view record details on screen).

I am writing into SCC Case record without any events. Also, when I change the assignment of the node to whoever designed the process, then the process works as expected. Can you please help me with this issue ?

Error

The input "Records" refers to an invalid record type. The record type does not exist, has been deleted, or the user does not have sufficient privileges to access the data.	

Logs

2023-11-20 10:31:56,000 [ajp-nio-0.0.0.0-8009-exec-773] ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=268442382, classname=com.appiancorp.process.runtime.activities.WriteRecordsActivity
com.appiancorp.suiteapi.process.framework.ActivityExecutionException: The input "Records" refers to an invalid record type. The record type does not exist, has been deleted, or the user does not have sufficient privileges to access the data.

Caused by: com.appiancorp.record.service.error.RecordMutationValidationException: com.appiancorp.suiteapi.common.exceptions.AppianException: The input "Records" refers to an invalid record type. The record type does not exist, has been deleted, or the user does not have sufficient privileges to access the data. (APNX-1-4564-009)

Security of record

User's groups

Thanks in advance!

Yogesh

    10 replies

    sarathkumr268295
    Known Participant
    Nov 20, 2023 1:03 PM UTC

    Maybe its due to process model security. What is the security configuration for the process model?

    Known Participant
    Nov 20, 2023 1:08 PM UTC

    User has viewer permission on process model and process is getting triggered as well

    Participating Frequently
    Nov 20, 2023 1:39 PM UTC

    Viewer don't have write permission to write the data

    stefanhelzle0001
    Brainy
    Nov 20, 2023 2:52 PM UTC

    Did you check the security settings of the data source connected system?

    docs.appian.com/.../Connected_System_Object.html

    Known Participant
    Nov 20, 2023 2:58 PM UTC

    We are using Appian cloud database so I believe this might not be applicable. Please correct me if I am wrong here.

    stefanhelzle0001
    Brainy
    Nov 20, 2023 3:00 PM UTC

    Depends on whether you use a connected system or the data source configured in the admin console.