Skip to main content

Run default activity inside custom activity

Comments

3 comments

  • Ken Lyon

    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
  • Permanently deleted user

    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.

    2021-11-09 15_46_49-Untitled Diagram.drawio - diagrams.net and 2 more pages - Work - Microsoft? EdgeFor 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
  • Ken Lyon

    In that case, I'd recommend you create two custom activities, like in your diagram.

    0

Please sign in to leave a comment.