Hello,
need some advice :-)
How to get the account.billingaddress... field values in a formulascript inside a workflow ?
I have...
$casename and $accountname are working just fine, but $accountstrasse, $accountplz and $accountort not..
The result looks like this...
anybody an idea how to get the values ?

Thanks in advance :-)
need some advice :-)
How to get the account.billingaddress... field values in a formulascript inside a workflow ?
I have...
Code:
$casename = workflow\targetEntity\attributeFetched('name');
$accountname = workflow\targetEntity\attributeFetched('account.name');
$accountstrasse= workflow\targetEntity\attributeFetched('account.billingaddressstreet');
$accountplz=workflow\targetEntity\attributeFetched('account.billingaddresspostalcode');
$accountort=workflow\targetEntity\attributeFetched('account.billingaddresscity');
The result looks like this...
Code:
{
"casename":"Wasser im Keller",
"Name":"Mustermann",
"Strasse":"{$$accountstrasse}",
"PLZ":"{$$accountplz}",
"Ort":"{$$accountort}"
}
Thanks in advance :-)

Comment