In the macros action step "Open a new form to create a record", we want to know about the slug/ parameter to get the agent Id who is current user Id. We need the agentId or userId to run query to retrieve fields from SystemUser entity.
I have tried using the session context variable anchor.agentid or anchor.userId , unfortunately it does not work.
This script to create an Account during a Whatsapp conversation.
We have checked in the development tool (F12) with this command: Microsoft. Apm. getFocusedSession. getContext but no session variable agentid there.
Microsoft Product team confirmed anchor.agentid doesn’t exist and it’s not documented, so it won’t work.
They only have anchor. parameters for the parameters that exist in the entity (for entity sessions) or from the parameters created by the provider.
So, I am filing a feature request in Ideas portal as MS suggests.