Read and Review Automation Anywhere Documentation

Automation 360

Close Contents

Contents

Open Contents

Json package

  • Updated: 2022/01/03

    Json package

    Extract the required information from Json text or file by using the Json package and use the extracted values in your bots.

    Before you start

    Use the actions in the Json package in the following order:
    1. Start the Json session using the Start session action. Use this session name for all corresponding actions.
    2. Use the different actions available in the Json package to automate Json-related tasks.
    3. End the session using the End session action to complete a task.

    Actions in the Json package

    The Json package includes the following actions:
    Action Description
    End session Closes a Json session.
    • Enter the session name or select a variable used in the Start session action.
    • Save and close the session.
    Get node list Retrieves the list of child nodes for a node path.
    • Enter the key or node path to retrieve multiple nodes or select a variable.
    • Enter the session name or select an existing variable used in the Start session action.
    • In the Save the outcome to variable field, select a list type variable to hold the output.
    Get node value Retrieves the value of a node.
    • Enter the key or node path to retrieve multiple nodes or select an existing variable.
    • Enter the session name or select a variable used in the Start session action.
    • In the Save the outcome to variable field, select a string type variable to hold the output.
    Start session Creates a new Json session based on a Json file or specified text.
    • Start the Json session.
    • In the Data Source field, select either File or Text:
      • File: Select from the Control Room file, Desktop file, or a existing Variable of File type.
      • Text: Specify the text name or select a variable.
      • Note: json and .txt extensions are supported in the file path for the Desktop option.
    • Select any of the following tabs from the Json object session to create a Json session:
      • Local session: Specify a session name that can be used only in the current bot.
      • Global session: Specify a session name that can be used across multiple bots, such as parent bots, child bots, and other child bots of the parent bots.
      • Variable: Specify a session variable that can be used to share that session with other child bots.
    Send Feedback