This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

WebDesigner Event Generation

Hi there,

is it possible to set the GenProcID to a specific UID by raising an Event in the WebDesigner (V6)?

Is there a special ParamName or something else?

Thx & Best Regards,

Martin

  • Other way round. Is it possible to get the automatically created GenProcId after raising an Event in the Webdesigner to see what processes are generated by the event including all successors with the same GenProcID?

    2nd question. What do i have to do to to query all processes (including history) with all successors if there are Processes that raise another event or trigger HandleObject-Operations so that new process are generated with possibly a changed GenProcID or if there are DBQueue-Operations with processes following on the Total-Tables? (DialogProcessSubstitute does not seem to work for me)

    What i want to do is to pretend some realtime-behaviour for password-resets in the Frontend and i would like to use a generic query on the jobqueue. 2nd question is because of other considerations.

    Thx in advance

  • Hi Martin,

    in regards to your 1st question: If this would be .Net I would generate a new ProcessContext with a known ProcID (ie. newid()) and use this when the process is generated. Since it is known, it can then be used for queries in subsequent code.

    I'm also curious how a solution in WebDesigner would be implemented.

    cu,

     Oliver

  • Hi Oliver,

    this would work.

    Why not creating a Script bound to an variable that is called in the WD instead of directly raising the event . The Script does its .net stuff and returns the GenProcID to the WD and my polling query on the Jobqueue is much more simple.

    Thx.

    To the 2nd question. In my opinion it has to be possible to query the Jobqueue and the Jobqhistory over all processes that run after i.e an insert of a person. With all processes i also think about processes that run on PersonHasRessourceTotal, ADSAccount and whatever will follow. It should be like the progess view in the manager but not only object or user based and with all predecessor successor associations. I never was able to query this. Are there any dependencies to the process tracking functionality in the process definition which is not used in all processes?