You are viewing limited content. For full access, please sign in.

Question

Question

Dynamically Change Connection Profile for All Activities in Workflow

asked on January 31, 2014

I posted this question several years ago in the forums and was told it was something that was being looked into. I wanted to followup to see if this was on the road map for Workflow or if anyone had found a way around it.

 

I prefer to develop commonly used workflow activities (such as queries, move/rename/create shortcut, ...) as shared workflows that can be invoked by any other workflow to handle these tasks.  It decreases development time, ensures all workflows use the same query lookup values (should they change), and makes it easier for customer's to design their own workflows, as they don't have to worry about these common tasks.  It is simple to do when working in a single repository, as they all share the same connection profile. The issue arises when I need to run the same shared workflow across multiple repositories.  I'd like an activity to dynamically change the connection profile for the shared workflow, along with all remaining activities, similar to the Change Starting Entry activity.  This could be accomplished by referencing the connection profile, as a token, from the workflow that invoked the shared workflow or just a Routing Decision to choose the profile based on the Starting Entry's repository.  

 

I am hoping this is coming or someone has found a way around as this will make programming for my large, multi-repository customers considerably quicker to build and update.

2 0

Answer

APPROVED ANSWER SELECTED ANSWER
replied on February 4, 2014

Hi Beau,

 

This option isn't available at this point. Your best option for now is to create a copy of each of these stock workflows for every repository you want them to run in. That way you won't have to worry about updating connection profiles for each workflow and each activity contained therewithin. 

 

The other thing you could do would be to put in redirects, but they are expensive and meant to be temporary for cases in which you need to go around republishing workflows.

 

Allowing for changing connection profiles in your workflows without republishing them would require some architecture changes. This may happen in the future, but won't be any time soon.

1 0
replied on February 5, 2014

I've found several "solutions" to work around this limitation but am hoping this is on the road map maybe for WF 10.  Thanks for your help and honest answer.

0 0
replied on February 13, 2014

Is it not possible to modify this through an automated deploy script ?

 

0 0
replied on February 13, 2014

I apologize but I am not sure what you mean by an "automated deploy script". I am needing to build these using out-of-the-box solutions (no custom activities or scripts) so that the customers can easily maintain them without needing to know how to code.

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.