×

Please give details of the problem

Docs

Find

How to design a connector

On RunMyProcess design platform you can create connectors, plug them to a process, and run the process to execute them.

You can also perform unit testing on a connector, simulating input parameters. In that case, when you click on 'TEST connector', you ask RunMyProcess server to execute the connector, then give you the result. We exposed that mechanism as Webservice.

Introduction

Let's take an example of provider and connector:

Provider:

2012-12-21_190456

Connector:

2012-12-21_190545

This connector will perform a call to a Google Spreadsheet, using 2-legged OAuth authentication (see Provider Authentication Scheme) and retrieve all the rows. The output format will be an xml.

This connector asks for 2 input parameters : spreadsheet_id and worksheet_id

To unit test the connector on RunMyProcess, we can click on 'Launch Test' to open test console:

2012-12-21_191022

By entering values for input params and hitting 'Launch Test' button, we perform the connector execution.

There are 2 outputs from a RunMyProcess connector:

  • The Raw ouput in 'Result' tab (in our exemple it's XML format):

2012-12-21_191824

The Processed ouput in 'Processed result' tab: