cancel
Showing results for 
Search instead for 
Did you mean: 
roseka
Nintex Newbie

Collection Variable in Email Notification

Jump to solution

Hello, how to use collection variable in Email Notification ? Is it possible in nintex workflow ? 

Site workflow runs every hour queries lib and collections the files with status = Ready and sends email to AD group stating that files are Ready. I want the list of items that are collected to be displayed in email notification. 

Labels: (2)
0 Kudos
Reply
6 Replies
Automation Master
Automation Master

Re: Collection Variable in Email Notification

Jump to solution

depends on what output/formatting you require...

- you can put collection variable reference directly into mail body an you will get semicolon separated list of collection elements

- if you just need to output each collection element on single line you can use regular expression action to turn semicolons into line feeds and then put its output into mail

- if you require some more advanced formatting you will need to iterate over the collection, process each single element separately and prepare output step by step into  text variable. then send content of text variable in mail

0 Kudos
Reply
roseka
Nintex Newbie

Re: Collection Variable in Email Notification

Jump to solution

HI Marian, 

Thank you for reply. I am trying to query the library, absolute url and collect the files with status= Ready using collection variable  and use that var in email body to display the list of files. When i use the variable its giving the urls without break. 

0 Kudos
Reply
Highlighted
roseka
Nintex Newbie

Re: Collection Variable in Email Notification

Jump to solution

Hi Marian,

The email body looks like this.It is separated by semicolon but i want each item to be to in single line.

https://xyx.com/sites/test/lib1/filename1.xlsb;https://xyx.com/sites/test/lib2/filename2.xlsb

0 Kudos
Reply
Automation Master
Automation Master

Re: Collection Variable in Email Notification

Jump to solution

as I advised above

- if you just need to output each collection element on single line you can use regular expression action to turn semicolons into line feeds and then put its output into mail

View solution in original post

Reply
roseka
Nintex Newbie

Re: Collection Variable in Email Notification

Jump to solution

Thank You Marian.

Reply
Automation Master
Automation Master

Re: Collection Variable in Email Notification

Jump to solution

please mark correct answer if you've got resolved your problem.

0 Kudos
Reply