There is another option apart from copying PlanningGroupName to Refnum (if you are concerning performance), which is to use AssignVariable to store PlanningGroupName, then place the variable in Remark of Send Transmission action.
In your external system, you will obtain PlanningGroupName via /TransmissionBody/GLogXMLElement/TransactionHeader/SendReason/Remark[RemarkQualifierGid/Gid/Xid='REM']/RemarkText
Note: If your OTM version is earlier than CU5 RU4 and you plan to assign two variables to Remark, please note that there is a bug:
Quote:
Bug 7676657: Notify subjects adding "{" character to variable when using two or more variables from the Assign Variable agent action. |