Console+ API Reference


Hello.

 

Because you switched to graphql in version 21.10, I wanted examples on creating tasks with VARIABLES, because in your examples you create a task without variables

https://docs.kryon.io/rpa/21.10/en/api-for-tasks.html#UUID-aa3e6583-807b-ffb2-aede-5033ee61e48b_section-idm459624404940163281378131392

25795iCC1ED64774100730.jpgI'm not a graphql expert and I didn't manage to make a working request in postman. could you share screenshots of work requests in which variables are passed when creating a task

25796i4C479F2EDD062249.jpg25797i89D13DFD43D6E284.jpg


5 replies

@Yotam Shenkar​ @Theo Charles Schmidt-Zimmermann​  Yakimov​  Gobitz​ 

Hi.

Can you send examples

Hi,

 

I used this yet (myself), however I think it needs to look like this:

 

... , Variables: [{Name: 'var1', Value: 'one'}, {Name: 'var2', Value: 'two'}], ...

 

Please give it a try!

 

Theo

no, it doesn't work.

forgot to say version 21.10.4.3

@Theo Charles Schmidt-Zimmermann​ WORK!

register plays a role.

If you enter with a small letter, then the task is created, cool, thanks!

[{name: 'var1', value: 'one'}, {name: 'var2', value: 'two'}]

Ha, very good! And thanks for the pointer regarding the "case sensitivity". That's good to know (I wasn't aware of it 😉

Reply