Workflow Soluiton

 View Only
Expand all | Collapse all

Runtime Configuration

  • 1.  Runtime Configuration

    Posted Jul 27, 2017 10:59 AM

    Hi @ all,

    is there any opportunity to deploy on workflow with multiple application properties?
    What I mean is that I can publish a workflow one and he will start at runtime multiple instances with different configurations that he took from Process Manager.

    Thanks for helping me!

     

    Best Regards,

    Stephan



  • 2.  RE: Runtime Configuration

    Posted Jul 27, 2017 03:06 PM
    Stephan, do you have an example of what you are trying to achieve? What is the end goal of the application and what options would be changing? How many different profiles would you need?


  • 3.  RE: Runtime Configuration

    Posted Jul 28, 2017 02:53 AM

    Hi Alex,

    thank you for response.
    We work with a special 0 day patch workflow and the goal at the end ist that I can start workflow multiple times with different conifg sets and have only deploy workflow once and maintain only one workflow.

    For Example:

    We have multiple targets with computers and multiple operator for the target. What I set at application porperties is the target GUID and the e-Mail adresse of operater for these targets. It is use by a application approval system to deploy patches on live environment. There are different combination of target and operator dependent of the target. Now I have to create one workflow project for one target/operator set because I need different Service ID's. But what I try to do is to create only on workflow project and deploy it once. On runtime, maybe every Monday 14:00 oc, the workflow starts on time with one of the configured config sets.

    There are some more config entrys that will change but i write the example for only one because i will not do an overkill ;-)
    I hope this will help to understand my problem.

    Best regards

    Stephan



  • 4.  RE: Runtime Configuration

    Posted Jul 28, 2017 05:49 AM

    Why is my last comment not shown here?
    Is there a Admin approval?



  • 5.  RE: Runtime Configuration

    Posted Jul 28, 2017 07:58 AM

    Sometimes if you add a comment then edit it, it goes for approval, might be worth just posting again?



  • 6.  RE: Runtime Configuration

    Posted Jul 31, 2017 04:33 AM

    Hi Alex,

    now you can see my comment.

    Have a great day,
    Stephan

     

     



  • 7.  RE: Runtime Configuration

    Posted Jul 31, 2017 08:25 AM

    You could make your Profile Properties Arrays for each config option, then send a param to the WF.

    Then just get property[x] and use it in your component where x is the array index you've passed.

    Then you can just add any new sets to your PP and set up another Windows Schedule calling the service with the new index passed.



  • 8.  RE: Runtime Configuration

    Posted Aug 02, 2017 09:58 AM

    Hi Alex,

    thank you for response.
    I think I do not complet understand what you mean with makeing Profile Properties Arrays.
    There are some Properties that are already Arrays. My Profile Properties look like this.

     

    How I can start a workflow via Windows Scheduler?

     

    Have a great day,

    Stephan



  • 9.  RE: Runtime Configuration

    Posted Aug 03, 2017 05:33 AM

    The previous idea probably won't work. You can create multiple instances of the same set of Application Properties, in PM click on the Profile then the + and you can create another Instance.

    Then in your WF in the Project settings there is the Application Properties tab, on the Profile Name the "Selected Instance" has a dropdown where you can select which Instance, and it will list all you have created.

    I'm unsure of how to dynamically change this, there is an option for Project Property, not sure where that gets set.

    ---

    You could create a custom Table using the Integration Components DBDT which stores all these values and have multiple rows, then decide which row to use at runtime.

    ---

    Scheduler: You could create a vbs script that calls your published workflow and set the schedule for each one you want.



  • 10.  RE: Runtime Configuration

    Posted Aug 09, 2017 03:38 AM

    Hi Alex,

    thank you for your help.
    We use already the PM Application Properties but actual I can only select one and publish ist for this config set.

    I will play a little bit around with it and share my success in this post.

    Best regards,

    Stephan



  • 11.  RE: Runtime Configuration

    Posted Aug 09, 2017 06:00 AM

    Hi Alex,

    you have any examples for the vbs?

    I found https://www.symantec.com/connect/articles/access-workflow-web-service-vbscript but im not familiar with Visual Basic so i don't understand anysting.
     

    Best regards,

    Stephan



  • 12.  RE: Runtime Configuration
    Best Answer

    Posted Aug 14, 2017 06:13 AM

    Stephan that's quite a detailed article covering each of the steps needed, I couldn't add anything to that one.

    ss64 is a great reference site - https://ss64.com/vb/

    There are many training sites out there, or it might be worth looking for a book.

    Hey, Scripting Guy! Blog is also an excellent resource: https://blogs.technet.microsoft.com/heyscriptingguy/tag/vbscript/

    Other than that it might be worth reaching out to Symantec Support to see if they can help or next best is a Parnter using the Parnter Locator, where they can engage to create the WF you need.