Back to bricks list
Introduction
Technical Documentation
Tasks
Send a scenario to a lab
Version

Send a scenario to a lab

TASK
Typing name :  TASK.gws_core.SendScenarioToLab Brick :  gws_core

Send a scenario to another lab using a share link

Task to send a scenario to another lab using a share link.

This task creates a share link for the scenario.

Then it call the external lab API to import the scenario in the external lab using the share link.

A credentials of type lab are required in both labs to be able to send and receive scenarios. It needs to be the same api_key in both labs.

Input

Scenario to send
Scenario to send, it must not be running

Configuration

credentials

The credentials must exist in destination lab

Type : credentials_param

link_duration

Optional

The share link is not created if a share link already exists for the resource

Type : intDefault value : 1