Home

Results 1 to 5 of 5

Thread: Email activity in workflow

Threaded View

  1. #1
    Join Date
    Feb 2008
    Location
    Stockholm, Sweden
    Posts
    1,609

    Email activity in workflow

    Hi,

    I have an e-mail activity where I need to send information to several addresses.

    In thread https://forums.novell.com/showthread...ivity-Multi-TOI found this information thet Steven provided:
    1) Utilize an arraylist:

    function getNotifyArrayList(){
    var notifyArrayList = new java.util.ArrayList();

    notifyArrayList.add(IDVault.get('CN=abc,OU=users,O =data','user','Email'));

    notifyArrayList.add(IDVault.get('CN=xyz,OU=users,O =data','user','Email'));
    return notifyArrayList;
    };
    getNotifyArrayList();

    2) Create a list separated by two pipe signs ||. You only use 1 set of
    single quotes:

    'abc@test.com || xyz@test.com'
    Can I use the same approach when I want to send an email to in my case: Initiator, an IDV group and an external email address?

    Something like this

    1) Utilize an arraylist:

    function getNotifyArrayList(){
    var notifyArrayList = new java.util.ArrayList();

    notifyArrayList.add(Initiator);

    notifyArrayList.add(IDVault.get('CN=emailgroup,OU= groups,O=data' , 'group', 'Member'));

    notifyArrayList.add('external.mail@whatever.com');

    return notifyArrayList;
    };
    getNotifyArrayList();

    2) Or

    'Initiator || CN=emailgroup,OU=groups,O=data || external.mail@whatever.com'

    Is it possible to mix like this or do I need to create different activities for the different addresses?
    Last edited by joakim_ganse; 22-Nov-2016 at 11:12 AM.
    If you find this post helpful and are logged into the web interface,
    show your appreciation and click on the star below...

    -----------------------------------
    joakim . ganse_@_ b-iq . se

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •