How Connectors in work?

1
0
-1

Hello everybody,
please, advise, where I can find detailed description how Connectors in work and how it could be used?

All that I could find it is that "Connectors in" load data from external source when task start. But how I can use this data after?

what I want in general:
I need load data from External source, if users want to change some data they select it and suggest new value, if user's manager approve suggested value new value downloaded to external source.

Thank you in advance for your help.

Comments

Submitted by PaSol on Thu, 06/28/2018 - 21:38

What I can discovered. Connect in is runned when task initiated. Results returned by connector can by saved to variable.
I was able to save results of a REST request (JSON) to text variable. But when I tried save it to business data, error type mismatch occured.
Do somebody can advise how take table with data from connector and use this data in process?

2 answers

1
0
-1

I solved this issue. I put output of connector to string and in form create JavaScript type variable. In this variable I transform string value to JSON.
After that I will able to display it in table widget.

1
0
-1

On Output operations tab of Connector in configuration wizard is notice: If the response Content-Type is JSON compatible, use the 'bodyAsObject' output...'.
But when I try to choose this output there are message "Incompatible types between bodyAsObject and its expression" for all operators.
How bodyAsObject can be used in this case?

Notifications