Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Post Function - who does it run as

Dirk Ronsmans
Community Champion
May 23, 2019

I'm trying to find an answer to this but either I'm looking over it every time or it's just not documented.

 

When running a script in a post function, what is the context that this is executed as?

Is it as the user that did the action to trigger the post function?

Is it as a generic internal user?

Is it as an admin/service account?

 

Anybody got a definitive answer to this?

1 answer

1 accepted

0 votes
Answer accepted
Fabio Racobaldo _Catworkx_
Community Champion
May 23, 2019

Hi @Dirk Ronsmans ,

post function is something that happens at the end of transition. A transition is executed by user so also the post function is performed by the same user.

At development level, infact, on postfunction execute method you can retrive info about the user that run the transition.

Hope this helps,

Fabio

Dirk Ronsmans
Community Champion
May 23, 2019

Great! 

Exactly what I wanted to know.

Suggest an answer

Log in or Sign up to answer