Skip to main content
Nintex Community Menu Bar
Answer

Remove characters after workflow completes

  • July 14, 2023
  • 4 replies
  • 86 views

Forum|alt.badge.img+11

Hello,

 

I have a workflow that Queries a List to grab email addresses but once the addresses are collected, I see in the log history that the addresses are displayed like such…

I used the below to try attempt to remove the “ [{"Approver_x0020_Email":"”} ” but was unsuccessful and only got what’s squared in red..

Help?

workflow result
workflow

 

Best answer by jpacheco

@MillaZ ,

No. I figured out another route.

4 replies

bamaeric
Forum|alt.badge.img+14
  • Apprentice
  • July 14, 2023

Hi @jpacheco,

Can you clarify what you are trying to accomplish with the emails? Are you trying to get all the emails from the list and maybe add them to the “To” field of a “Send an Email” action?

The Query List action is populating a workflow collection variable, which is shown in the Description image in your example.

You could use the “Join items in collection” action to merge all the emails in your collection variable using a delimiter into a single text variable. You could then use that text variable in something like the “To” field of a “Send an Email” action.

Here is more information about the “Join items in collection” workflow action: Join items in collection (nintex.com)


MillaZ
Nintex Employee
Forum|alt.badge.img+22
  • Nintex Employee
  • July 17, 2023

Hi @jpacheco 
Did this answer help you resolve your question? 


Forum|alt.badge.img+11
  • Author
  • Scout
  • July 17, 2023

@MillaZ ,

Thanks for your reply! So per response to your message, I am “trying to get all the emails from the list and add them to the “To” field of a “Send an Email” action”.

I tried using the join items in a collection and followed the steps listed in the documentation but having issues capturing the addresses… I added the “;” delimiter to separate the addresses but I’m wondering if its this “[{"Approver_x0020_Email":” that is causing an issue. 

 

My workflow works as such where I query the list and place the addresses in the “approverAddress” variable but when I log it to history, no addresses apply...

 


Forum|alt.badge.img+11
  • Author
  • Scout
  • Answer
  • July 17, 2023

@MillaZ ,

No. I figured out another route.