Forum Discussion

kwojsz's avatar
kwojsz
New Contributor III
2 years ago

Can we programmatically change the WF POV?

I'm trying to change the WF POV via DashboardExtender BR. I noticed there is Enum XFSelectionChangedPovActionType but I don't see any object which can make a use of this. Any tips?

  • You can change the workflow scenario and time programmatically:
    BRApi.Workflow.General.SetSelectedWorkflowView(si, profileName, scenarioName, timeName)

     

  • RobbSalzmann's avatar
    RobbSalzmann
    Valued Contributor II

    You can change the workflow scenario and time programmatically:
    BRApi.Workflow.General.SetSelectedWorkflowView(si, profileName, scenarioName, timeName)

     

    • kwojsz's avatar
      kwojsz
      New Contributor III

      Thanks Rob! This actually didn't help with my use-case (I was able to solve it differently, but this helped to find a bug in my code), but still, good to know this method!

  • Have you tried using the POV Action in Action section that allows you to change POV and Workflow 

     

  • kwojsz's avatar
    kwojsz
    New Contributor III

    Yes, I'm aware of this feature, but I want to have this functionality in the BR. My use case is not linked to dashboard in fact. I'd like to change WF POV on demand. I wonder if there's enum, shouldn't there be any method/property which will make use of this enum?

    • Omkareshwar's avatar
      Omkareshwar
      Contributor II

      I don't have any idea about that I can try doing the same on my system If I can get any success, I'll let you know.