Run default activity inside custom activity
Hey Guys
I need to run a Geocortex workflow default activity within a custom activity. that activity might have an output like query or not like InjectCss. Is there any example to show how we can execute an activity and get the result of that activity within a custom activity?
-
Hi Davood,
We don't support executing activities from within other activities. Maybe you could achieve what you want with a separate workflow that you invoke using Run Workflow?
0 -
Hi Ken
Thank you but "run workflow" does help me in this situation. Having a look at the simple attached diagram is one of my examples I like to use some activity inside custom activity. The first custom activity pass the result to the WF5 query activity and then I used the result in the second custom activity. But if I could utilize the query activity within my custom activity, I could run all in one custom activity.
For the simple ones like "Inject CSS" or "Filters" and etc it was straightforward to define the function but for some like Query and replicate the code from Esri Javascript API is like reinventing the wheel and can use the benefit of WF5.0 -
In that case, I'd recommend you create two custom activities, like in your diagram.
0
Please sign in to leave a comment.
Comments
3 comments