Skip to main content

i have Screen Flow run in System context with all data. At the end of this flow creating a case record. In After case create flow have core action Post to chatter where in Target attribute set up case Id. When i am launching screen as system admin, everything works fine but when running as other user getting below error.

 

POST TO CHATTER: Post To Chatter - AutoReply Sent

Inputs:

text = {!AutoReplyMessage} (Auto Reply Sent To test1@noemail.com)

subjectNameOrId = {!$Record.Id} (5007a00000RjFNkAAN)

Error Occurred: You don't have permission to do this.

 

Note : on case creation assigning it to Queue and OWD for case is private currently there is no sharing rule. will it cause any issue? User is having only Read and Edit access on case object.

4 respostas
  1. 25 de ago. de 2025, 09:01

    Hi All ,  

     

    I had similar experience and found the root cause , when owner is assinged to the queue , the actual user will lose access to the record as there are no existing  sharing rules and owd is private .  

    The workaround is to give access to the user who is chatter posting it through automation ,  

    How ? try to think stratergically how to give access ? whether through sharing rules or through sharing settings ? public read or public read/write ? 

    and once the user who is initiating the record flow having access to the record , the chatter post will be successful. 

0/9000