Search code examples
mulemule-elanypoint-studiocloudhub

How to access the invocation property?


I am trying to access the _clienName from the invocation properties. I tried the below one, but doesnt help. any thoughts ? Is it really possible to access invocation property in a mule flow ?

#[message.invocationProperties['_clientName']]

Message properties:
  INVOCATION scoped properties:
    __httpEvent=HttpEvent #188...9{apiName=.....95574017,something=99034}
    _clientId=680.....81d97344
    _clientName=abcd-app
  INBOUND scoped properties:

Solution

  • Invocation Properties can be accessed via flowVars: #[flowVars['_clientName']] or #[flowVars._clientName]