Hi,
the only way to fetch information from factory linked with main object as BREL (many to many relation) and use it in notification - is to use sequence number, example:
@{call_req.act_log.0.description}
this will fetch description from the first record but if you need to get info for specific Activity Log you can use this workaround:How to pass BREL value to notification
For example, if you want to pass description from the latest Resolutin activity, you need to create maj file with followed code:
OBJECT alg {
FACTORY {
DOMSET alg_re_list "time_stamp asc" DYNAMIC {
WHERE "type = 'RE'";
};
};
};
OBJECT cr {
ATTRIBUTES Call_Req {
z_alg_re_list BREL alg call_req_id DYNAMIC { DOMSET alg_re_list; };
};
};
Notification code will be:
@{call_req_id.z_alg_re_list.0.description}
Please notice, this code is provided as example and wasn't not tested. Use any SPEL customization at your own risk.
Best regards,
cdtj