Automic Workload Automation

 View Only
  • 1.  sql query to get list of users without a group

    Posted Jul 13, 2022 08:02 AM
    Hello Community,

    Can anyone help me with a sql query to get the list of users without a group assigned in Automic Automation engine 12.3.4.

    Regards,
    Sunil


  • 2.  RE: sql query to get list of users without a group
    Best Answer

    Posted Jul 13, 2022 09:30 AM
    Hi Sunil,

    this query should do the job:

    select OH_Client, OH_Name
    from USR
    inner join OH on (OH_Idnr = USR_OH_Idnr)
    where USR_OH_Idnr not in (select USRG_USR_Idnr from USRG)
    and OH_DeleteFlag = 0
    order by OH_Client, OH_Name;

    regards,
    Peter

    ------------------------------
    For AUTOMIC trainings please check https://www.qskills.de/qs/workshops/automic/
    ------------------------------



  • 3.  RE: sql query to get list of users without a group

    Posted Jul 13, 2022 04:40 PM
    Hi Peter,
    Thanks a lot for the quick response.
    That is very helpful for me.
    Regards,
    Sunil