Multiple destinations separated by semi colon

  • 15 February 2022
  • 0 replies
  • 132 views

Userlevel 5
Badge +20
 

Multiple destinations separated by semi colon 

kbt145738

PRODUCT
K2 Cloud
K2 Five
TAGS
Destination Users
Technical Guidance
Rules
Workflow Designer
Workflow
How to Document
Support
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.

Objective

In this example I have a SmartBox SmartObject with user FQNs or Emails that are separated with a semi colon. This needs to be used in a Task Destination without concatenating it as a string.

For example:

bob@denallix.com;blake@denallix.com

Before You Begin

NA

How-to Steps

Here is some sample data from the SmartObject:

 

Image

 

We need to use the email or FQN as the destination in a workflow task event.

 

 

Using the name might be a bit ambiguous when resolving, we suggest using something that is unique to the user like email, UPN or FQN.

 

In the workflow setup, the task events destination is as follows:

 

1. Make use of the OOTB Split Function in the Recipients area:

 

Image

 

 

2. Configure the Split function to split the data on the semi colon:

 

Image

 

 

The result will be a task per user, instead of a single destination that is concatenated.

 

Correct:

Image

 

Incorrect:

Image

 

 

Depending on what version of K2 you have running you might need a specific codefix to get this to work.

 

K2 Five - ref 804968

 

K2 Cloud - this fix will be in K2 Cloud Update 4 (ETA end April 2018)

 


0 replies

Be the first to reply!

Reply