Workflow HTTP GET Request Help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • 3rdtec
    Junior Member
    • Sep 2020
    • 10

    Workflow HTTP GET Request Help

    Hi, I'm stucked on a problem and I hope someone can help me. I would like to import some data from an external website using workflow HTTP GET rule.

    The url is something like:

    http://...../stats/way/{$variable}

    where {$variable} is a value from an array of numbers [1...n]

    So I'm wondering if it is possible to call n times the workflow rule and create the record with the corresponding values from the external website:

    ex.
    http://...../stats/way/1 -> create record 1: espofield1="remote-field1" espofield2="remote-field2"
    http://...../stats/way/2 -> create record 2: espofield1="remote-field1" espofield2="remote-field2"
    ...
    http://...../stats/way/n-> create record n: espofield1="remote-field1" espofield2="remote-field2"

    Thank you
  • dimyy
    Active Community Member
    • Jun 2018
    • 569

    #2
    1. Create Entity with "variable" field
    2. Create WorkFlow rule with necessary actions using this "variable" field
    3. Import list of "variable" values into this Entity

    Comment

    Working...