Built-In Initialize Data Parameters

Modified on Sun, 29 Sep at 9:04 PM

au2mator – Self-Service Portal uses built-in Initialize Data Parameters to provide some Special Information to the Automation. 



TABLE OF CONTENTS



Description

Each Runbook Type provides different Parameters. See this List for more Details.


Service Automation Type

Request New

  • InitiatedBy (Domain\Username of User which started the Request) 
  • Service (Name of the Service / Request from au2mator) 
  • TargetUserId (Domain\Username of selected User) 
  • RequestId (ID of Request)
  • au2matorhook (All Information in JSON format)


Request Info

  • InitiatedBy (Domain\Username of User which started the Request) 
  • Service (Name of the Service / Request from au2mator) 
  • TargetUserId (Domain\Username of selected User)
  • au2matorhook (All Information in JSON format)


Request Approval

  • InitiatedBy (Domain\Username of User which started the Request)
  • Service (Name of the Service / Request from au2mator)
  • TargetUserId (Domain\Username of selected User)
  • ApproverUserId (Domain\Username of Approval User)
  • RequestId (ID of Request) 
  • au2matorhook (All Information in JSON format)




au2matorhook


The au2matorhook for the Service Automation Types, was included in 5.0.6 and is in BETA Status.



Here is an example, how the au2matorhook is structured, data can varie relate to Autoamtion Type.



{
    "Internal": {
        "InitiatedByUsers": {
            "InitiatedBy_Id": "au2mator.local\\Seidlm",
            "InitiatedBy_Mail": "[email protected]",
            "InitiatedBy_Upn": "[email protected]"
        },
        "Service": "SCO au2matorhook",
        "RequestId": "60800",
        "ApproverUsers": {
            "ApproverUser_Id": "au2mator.local\\Seidlm",
            "ApproverUser_Mail": "[email protected]",
            "ApproverUser_Upn": "[email protected]"
        },
        "Language": "en",
        "TargetUsers": [
            {
                "TargetUser_Id": "au2mator.local\\Seidlm",
                "TargetUser_Mail": "[email protected]",
                "TargetUser_Upn": "[email protected]"
            }
        ]
    },
    "Answers": [
        {
            "Key": "c_Comment",
            "Name": "Comment",
            "Answer": "This is a Comment"
        },
        {
            "Key": "c_User",
            "Name": "User",
            "Answer": "My User"
        },
        {
            "Key": "c_Group",
            "Name": "Group",
            "Answer": "My Group"
        },
        {
            "Key": "TargetUserId",
            "Name": "",
            "Answer": "au2mator.local\\Seidlm"
        },
        {
            "Key": "Service",
            "Name": "",
            "Answer": "SCO au2matorhook"
        },
        {
            "Key": "InitiatedBy",
            "Name": "",
            "Answer": "au2mator.local\\Seidlm"
        }
    ]
}



Question Type


PowerShell Question 

au2matorhook (Service Information in JSON Format)


See PowerShell Question Type for more Details






Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article