Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: Workflow: Process Agent loop and variables
Topic Summary:
Created On: 02/26/2018 02:53 AM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 02/26/2018 02:53 AM
User is offline View Users Profile Print this message

Author Icon
TimoCordes
Apprentice (20-49)

Posts: 35
Joined: 04/12/2016

Hi Guys,

I actually thinking about a test case for process agents.
My example: I get a list of API endpoints from a datebase and save them into a dataset.
Actually i use normall task agents to loop through the dataset. I checked the process agent and with an installed curl on the linux system it also possible to send requests to an endpoint. I actually miss two points:

1. how get i data back from the process agent into the workflow?
2. How can i loop through a dataset with a process agent?

Regards
Timo
 03/02/2018 07:12 AM
User is offline View Users Profile Print this message

Author Icon
Alex Escalante
HelpSystems

Posts: 871
Joined: 02/26/2014

Hello Timo,

The best way to get data back is to have the process you are running create a temp file with return data, then use another command to read that data from an agent.

Unfortunately you cannot loop through a dataset in the traditional way using a process agent. However, you may be able to use a shared dataset to loop through the workflow. Here is an example of how you might accomplish this:

http://www.networkautomation.c...orkflow/57bb66539904a/

-------------------------

Alex Escalante | Support Analyst
AutoMate | Division of HelpSystems
HelpSystems, LLC | T: +1.213.738.1700 | F: +1.213.738.7665
Statistics
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 5551 on 01/08/2018 at 11:11 AM.
There are currently 767 guests browsing this forum, which makes a total of 767 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2019 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog