Skip to main content
November 20, 2023
Question

Error with write to record smart service

  • November 20, 2023
  • 10 replies
  • 0 views

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
    November 20, 2023

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

    November 20, 2023

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

    November 20, 2023

    Viewer don't have write permission to write the data

    stefanhelzle0001
    Brainy
    November 20, 2023

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

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

    November 20, 2023

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

    stefanhelzle0001
    Brainy
    November 20, 2023

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