Baseline action ID

I’m looking to pull back the ID of the master action for a baseline during run time.

{id of action} 

will pull back the current step that’s running. Is there a way to pull back the baseline action ID?

So the only way I could think of it is if you know its in a MAG then you can step up the action ids (as they would be in sequence) and look for the group leader

https://developer.bigfix.com/relevance/reference/action.html#group-leader-of-action-boolean

Not sure how well that would work though as you have no real loop capabilities. This sounds like a decent RFE

@AlanM thank you very much for the quick response.

RFE (#130198) has been submitted for anyone else interested, that may want to up vote.