Pending Approval notification

Hi, I was wondering if anyone could help with some functionality?
I’ve had a quick look in the forum and online but couldn’t see anything related to what we are trying to do.

Basically, on the pending-approval step. You have an output like Step has been approved by: some-name What I’d like to do is pass that name to a slack message in the next step. Is this even possible?


Yes, this is possible by using the Step Member Variables, the Approval step have the following variables exposed:

  • authEntity.type

So you can get the name in the following step by using this variable: ${{<Approval_step_name>}}

Thats brilliant thanks. I did spot those vars elsewhere but didn’t realise they were members of that step :+1: