I am trying to generate a computed label on the delivery templates so that I can have generic name on the campaign deliveries( under Analysis tab) I have many deliveries so I dont want to have many campaign templates. for somehow when I enter a script i get an error when I include a conditional statement. Any Idea why is not working?
No, you can get values from your specific schema, but it should come from a 1-1 or N-1 relationship (blue one) not from a 1-N relationship (yellow one) because otherwise how can you select the exact value between many records linked to your delivery ? If you select a yellow relationship, AC takes randomly one record of the linked dimension.
I guess you are misleading the label name of the delivery and the object of the mail, aren't you?
In the delivery properties tab, you are at the delivery level. So it is common to all recipients targeted. It is the label name of the delivery, not the object of a specific message sent to a specific recipient...
So even if you want to put a valuable syntax such as:
<%= delivery.broadLogRcp.recipient.email %>
it would take one of the recipient of the 0,n relationship, by chance, which is not obviously what you meant to do.
Calculation delivery label name is for automating naming such as inserting month in the delivery label name from a model delivery.
This make much more sense. So at that level am I limited to only the objects( Schemas) that are listed there or I can build my custom schema ( N-1) or 1-1 and use that my look up for applying the logic on the statement?
yes I am trying for the automation of the naming of deliveries
so since I have many deliveries that are common but I want to identify them on some characteristics that why I can trying to get that based on the product number( the recipient was to test if was able to get the name ) .
so you saying I cannot get a value from a specific schema there right? can I do with variables? Options?
Practially I was trying to give the workflow name based on their product that they belong too.