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

Spawn multiple ADSAccount Insert upon saving one form

Hello,

We have a form on WebUI with 4 environments (checkboxes). If 4 checkboxes are checked 4 different ADSAccount inserts need to be triggered with different samaccountnames. We are following the convention of name_environment for samaccountname, so each entry is unique. Upon saving the form on the WebUI, is there a way to spawn 4 different inserts in the backend to ADSAccount. Please advise

Thanks in advance

  • Multiple ways to achieve this.
    Make up to 4 insert statements in WebDesigner.
    Raise an event (Object Method) and pass the arguments need to let a script run and this script can insert up to 4 Accounts.
    You can also go with a job chain and let the user see its outcome via my processes.
    And I think there are much more ways.
    To decide you need to figure out how much interaction and visibility is needed for the WebUI.
  • Hi,

    I'm assuming there is no PWO associated with this form. In that case, you need to ensure you create 4 different ADSAccount objects (one for each checkbox that is ticked), which will give you the required result.

    There are various ways to do what you want so it all depends on how the UI and wired up with the backend, but essentially you need to insert 4 records into ADSAccount table.

    HTH
  • Assuming the 4 checkboxes change Person attributes, make one process on Update event, that assigns/removes AD account definitions to the Person accordingly.