this is the workfow I created as a classless process using http-connectors for calling the same API sequentially, and I can deploy it correctly.
orchTrial.bpmn (10.1 KB)
However, I am getting this error Unable to evaluate script:TypeError: Can not invoke method [jdk.internal.dynalink.beans.SimpleDynamicMethod SpinList org.camunda.spin.impl.json.jackson.query.JacksonJsonPathQuery.elementList()] with the passed arguments; they do not match any of its method signatures. in at line number 9 and am not sure how to resolve this as there aren’t many resources for spin.
This is an example of the json object that should be returned:
[{“name”:“Aruba”,“topLevelDomain”:[".aw"],“alpha2Code”:“AW”,“alpha3Code”:“ABW”,“callingCodes”:[“297”],“capital”:“Oranjestad”,“altSpellings”:[“AW”],“region”:“Americas”,“subregion”:“Caribbean”,“population”:107394,“latlng”:[12.5,-69.96666666],“demonym”:“Aruban”,“area”:180.0,“gini”:null,“timezones”:[“UTC-04:00”],“borders”:[],“nativeName”:“Aruba”,“numericCode”:“533”,“currencies”:[{“code”:“AWG”,“name”:“Aruban florin”,“symbol”:“ƒ”}],“languages”:[{“iso639_1”:“nl”,“iso639_2”:“nld”,“name”:“Dutch”,“nativeName”:“Nederlands”},{“iso639_1”:“pa”,“iso639_2”:“pan”,“name”:"(Eastern) Punjabi",“nativeName”:“ਪੰਜਾਬੀ”}],“translations”:{“de”:“Aruba”,“es”:“Aruba”,“fr”:“Aruba”,“ja”:“アルバ”,“it”:“Aruba”,“br”:“Aruba”,“pt”:“Aruba”,“nl”:“Aruba”,“hr”:“Aruba”,“fa”:“آروبا”},“flag”:“https://restcountries.eu/data/abw.svg",“regionalBlocs”:[],“cioc”:"ARU”}]
Thank you for any help.