Which all activities comes under Python Activities pack and what they are used for

0 votes
Which all activities comes under Python Activities pack and what they are used for?
Apr 9, 2019 in RPA by Jasmine
814 views

1 answer to this question.

0 votes

Hey @Jasmine, the Python Activities pack enables you to invoke Python scripts and methods in any workflow directly. You can also pass input arguments to the invoked code, as well as retrieve the output data generated by the activities. Now, the activities which comes under Python Activities pack are as follows:

  • Python Scope:
    UiPath.Python.Activities.PythonScope

    It is a container which provides a scope for Python activities and initializes the specified Python environment. When the Python Scope activity ends, all Python objects loaded up to that point are deleted.

  • Get Python Object:
    UiPath.Python.Activities.GetObject<System.Object>

    This activity converts a Python.Object variable returned by other Python activities such as Load Python Script into a .NET datatype of your choice. Can only be used inside the Python Scope activity.

  • Invoke Python Method:
    UiPath.Python.Activities.InvokeMethod

    It helps you run a specified method from a Python script directly in a workflow. The script that contains the method needs to be loaded into the environment first by using the Load Python Script activity. Can only be used inside the Python Scope activity.

  • Load Python Script: 
    UiPath.Python.Activities.LoadScript

    This activity enables you to store the handlers of a Python script in a PythonObject variable. You can use the resulting variable to invoke the methods within the code. If there is inline code besides the methods present in the script, the code is also executed at runtime. Can only be used inside the Python Scope activity.

  • Run Python Script:
    UiPath.Python.Activities.RunScript

    Enables you to execute Python code. You can input the code directly in the activity or provide a file path for it. Can only be used inside the Python Scope activity.

answered Apr 9, 2019 by Anvi
• 14,150 points

Related Questions In RPA

0 votes
1 answer

What are Machines in orchestrator and what they are used for?

Hi @Nibha, Machines enables you to provision and ...READ MORE

answered Apr 5, 2019 in RPA by Abha
• 28,140 points
1,712 views
0 votes
1 answer

What Java Activities pack is used for in UiPath Studio?

Hello Erik, the Java Activities Pack contains ...READ MORE

answered Apr 9, 2019 in RPA by Pratibha
• 3,690 points
1,622 views
0 votes
1 answer

What is Terminal Activities pack and how it can be used in UiPath studio?

Hello Lalit, the Terminal pack contains activities ...READ MORE

answered Apr 9, 2019 in RPA by Pratibha
• 3,690 points
2,283 views
0 votes
1 answer

What are the general requirements of RPA for front and back office processing?

Well, the fact is RPA is well-known ...READ MORE

answered Jan 18, 2019 in RPA by DataKing99
• 8,240 points
1,600 views
–1 vote
1 answer
0 votes
1 answer

What is Get Jobs activity used for in UiPath Studio?

Hey @Rakesh, Get Jobs Activity can be ...READ MORE

answered Mar 14, 2019 in RPA by Abha
• 28,140 points
2,734 views
0 votes
1 answer

How to format text in notepad using UiPath?

Hey @Rashmi, if you want to automate ...READ MORE

answered Mar 18, 2019 in RPA by Anvi
• 14,150 points
7,549 views
+2 votes
1 answer

How can I display current date in "dd-MMM-yy" format in UiPath Studio?

Hi Shilpa, if you want to display ...READ MORE

answered Mar 18, 2019 in RPA by Pratibha
• 3,690 points
16,456 views
0 votes
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP