Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Calling one workflow from another

Updated: 22 May 2010 | 4 comments
ToadMan8's picture
0 0 Votes
Login to vote

I have a workflow that, given a user, returns the technical support person who should respond to the given user's request. I want to call this workflow from many other workflows. I established an input and output variable in the project, and the model is valid. I published it as a DLL, but when I import the DLL into my other projects, it doesn't generate any new components. How do I use the model from other projects?

Thanks!!

discussion Filed Under:

Comments

reecardo's picture
14
Jan
2009
0 Votes 0
Login to vote

You could deploy the workflow

You could deploy the workflow as a web service and call the webservice via a generated WS component. Optionally, you could turn this workflow into a decision project, publish it as an executable, and call it using the Shell Execute component.

ToadMan8's picture
14
Jan
2009
0 Votes 0
Login to vote

hrm...

I made a .exe and it shows the input var when I run it at the command line, then it says it completed successfully but doesn't give me output. When I use the Shell Commands component in the workflow I am trying to call it from, it returns the following:

Name: System.String[]
Command: System.String[]
Arguments: System.String[]
CommandToExecute: System.String[]

and Workflow considers those vars singles, so I can't use the array functions like "Build Text from Elements"

reecardo's picture
15
Jan
2009
0 Votes 0
Login to vote

Have you tried going the web

Have you tried going the web service route? I completely overlooked the fact that this returns output. Usually I go the web service route for stuff that outputs stuff, and executables for workhorses that don't return output.

ToadMan8's picture
15
Jan
2009
0 Votes 0
Login to vote

This did it!

This worked for me, and is a reasonably eloquent way of pulling it off, thank you!