How to use AMI actionid in dialplan

How can I make use of the actionid of an asterisk manager originate action in a dialplan?

I have tried (similar to ${CHANNEL(uniqueid)})

same => n,Set(ActionID=${CHANNEL(actionid)})
same => n,NoOp(ActionID=${ActionID})

but this is not working.

I’m using Asterisk 10.12.1

thanks for any suggestion

Geert

You don’t. Why would you want to. ActionID is simply so that the AMI client can match responses with requests.