Set external pv error. "An error occurred while trying to update the PVs of process with id 12345: Insufficient permission"

Hi All. 

Am using Set External PV plugin to update process variable of two different process. Lets say process ids 12345 and 54321 and both PM are having same security. But I could able to update PV for process 54321 whereas I couldn't do the same for other process. Its showing below error.

 "An error occurred while trying to update the PVs of process with id 12345: Insufficient permission"

Can anyone suggest how to troubleshoot this?

Thanks in advance!

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Associate Developer

    Hi  and  

    You're trying to update process variables (PVs) in two processes (12345 and 54321) using the Set External PV plugin and 

    It works for 54321 but fails for 12345 with the error:
    "An error occurred while trying to update the PVs of process with id 12345: Insufficient permission." and also Both process models have the same security settings.

    pls try below steps and let me know...

    1. Instance-Level Security:
    2. Even if the process models have the same security, individual process instances can have different permissions. Double-check the permissions for process 12345.
      Go to Monitoring > Process Details > Security for 12345 and make sure the account running the plugin has Administrator or Manager access.
      Process Instance Status:
    3. Is the process instance 12345 still active? If it’s already completed, canceled, or archived, you won’t be able to update its PVs.
      If it’s archived, you’d need to restore it before trying again.
      Variable Names and Types:
    4. Double-check that the PV you’re trying to update exists in process 12345 and has the same data type you’re passing. Sometimes a mismatch can cause issues.
      Logs:
    5. Check the logs (especially the application-server.log) to see if there’s more detail about the error. The error message in the plugin might not give you the full picture.
      Test a New Instance:
    6. Try creating a new instance of the process model for 12345 and see if the plugin works on that. If it does, the problem is specific to the original instance.
Reply
  • 0
    Certified Associate Developer

    Hi  and  

    You're trying to update process variables (PVs) in two processes (12345 and 54321) using the Set External PV plugin and 

    It works for 54321 but fails for 12345 with the error:
    "An error occurred while trying to update the PVs of process with id 12345: Insufficient permission." and also Both process models have the same security settings.

    pls try below steps and let me know...

    1. Instance-Level Security:
    2. Even if the process models have the same security, individual process instances can have different permissions. Double-check the permissions for process 12345.
      Go to Monitoring > Process Details > Security for 12345 and make sure the account running the plugin has Administrator or Manager access.
      Process Instance Status:
    3. Is the process instance 12345 still active? If it’s already completed, canceled, or archived, you won’t be able to update its PVs.
      If it’s archived, you’d need to restore it before trying again.
      Variable Names and Types:
    4. Double-check that the PV you’re trying to update exists in process 12345 and has the same data type you’re passing. Sometimes a mismatch can cause issues.
      Logs:
    5. Check the logs (especially the application-server.log) to see if there’s more detail about the error. The error message in the plugin might not give you the full picture.
      Test a New Instance:
    6. Try creating a new instance of the process model for 12345 and see if the plugin works on that. If it does, the problem is specific to the original instance.
Children
No Data