-
Notifications
You must be signed in to change notification settings - Fork 3
/
Fill Form in Loop.automa.json
1 lines (1 loc) · 10 KB
/
Fill Form in Loop.automa.json
1
{"extVersion":"1.28.27","name":"Fill Form in Loop","icon":"riGlobalLine","table":[],"version":"1.28.27","drawflow":{"nodes":[{"type":"BlockBasic","data":{"activeInInput":false,"contextMenuName":"","contextTypes":[],"date":"","days":[],"delay":5,"description":"","disableBlock":false,"interval":60,"isUrlRegex":false,"observeElement":{"baseElOptions":{"attributeFilter":[],"attributes":false,"characterData":false,"childList":true,"subtree":false},"baseSelector":"","matchPattern":"","selector":"","targetOptions":{"attributeFilter":[],"attributes":false,"characterData":false,"childList":true,"subtree":false}},"parameters":[],"preferParamsInTab":false,"shortcut":"","time":"00:00","triggers":[{"data":{"activeInInput":false,"contextMenuName":"","contextTypes":[],"date":"","days":[],"delay":5,"description":"","disableBlock":false,"interval":60,"isUrlRegex":false,"observeElement":{"baseElOptions":{"attributeFilter":[],"attributes":false,"characterData":false,"childList":true,"subtree":false},"baseSelector":"","matchPattern":"","selector":"","targetOptions":{"attributeFilter":[],"attributes":false,"characterData":false,"childList":true,"subtree":false}},"parameters":[],"preferParamsInTab":false,"shortcut":"","time":"00:00","type":"manual","url":""},"id":"KgU3v","type":"manual"}],"type":"manual","url":""},"events":{},"id":"-ECP-bo5vZqsPs82XEO32","label":"trigger","position":{"x":133.44667222505075,"y":351.8221129578311}},{"type":"BlockBasic","data":{"disableBlock":false},"events":{},"id":"3jlrwiq","label":"active-tab","position":{"x":429.81520039933355,"y":347.8218274460252}},{"type":"BlockGroup","data":{"blocks":[{"data":{"assignVariable":false,"clearValue":true,"dataColumn":"","delay":0,"description":"Role in Company","disableBlock":false,"events":[],"findBy":"cssSelector","getValue":false,"markEl":false,"multiple":false,"optionPosition":"1","saveData":false,"selectOptionBy":"value","selected":true,"selector":"input[ng-reflect-name=\"labelRole\"]","type":"text-field","value":"{{variables@role}}","variableName":"","waitForSelector":false,"waitSelectorTimeout":5000},"id":"forms","itemId":"3bz0_"},{"data":{"assignVariable":false,"clearValue":true,"dataColumn":"","delay":0,"description":"Email","disableBlock":false,"events":[],"findBy":"cssSelector","getValue":false,"markEl":false,"multiple":false,"optionPosition":"1","saveData":false,"selectOptionBy":"value","selected":true,"selector":"input[ng-reflect-name=\"labelEmail\"]","type":"text-field","value":"{{variables@email}}","variableName":"","waitForSelector":false,"waitSelectorTimeout":5000},"id":"forms","itemId":"5_7y8"},{"data":{"assignVariable":false,"clearValue":true,"dataColumn":"","delay":0,"description":"Last name","disableBlock":false,"events":[],"findBy":"cssSelector","getValue":false,"markEl":false,"multiple":false,"optionPosition":"1","saveData":false,"selectOptionBy":"value","selected":true,"selector":"input[ng-reflect-name=\"labelLastName\"]","type":"text-field","value":"{{variables@last_name}}","variableName":"","waitForSelector":false,"waitSelectorTimeout":5000},"id":"forms","itemId":"flk2v"},{"data":{"assignVariable":false,"clearValue":true,"dataColumn":"","delay":0,"description":"Company Name","disableBlock":false,"events":[],"findBy":"cssSelector","getValue":false,"markEl":false,"multiple":false,"optionPosition":"1","saveData":false,"selectOptionBy":"value","selected":true,"selector":"input[ng-reflect-name=\"labelCompanyName\"]","type":"text-field","value":"{{variables@company_name}}","variableName":"","waitForSelector":false,"waitSelectorTimeout":5000},"id":"forms","itemId":"0I0el"},{"data":{"assignVariable":false,"clearValue":true,"dataColumn":"","delay":0,"description":"Phone Number","disableBlock":false,"events":[],"findBy":"cssSelector","getValue":false,"markEl":false,"multiple":false,"optionPosition":"1","saveData":false,"selectOptionBy":"value","selected":true,"selector":"input[ng-reflect-name=\"labelPhone\"]","type":"text-field","value":"{{variables@ph_no}}","variableName":"","waitForSelector":false,"waitSelectorTimeout":5000},"id":"forms","itemId":"07ZMW"},{"data":{"assignVariable":false,"clearValue":true,"dataColumn":"","delay":0,"description":"first name","disableBlock":false,"events":[],"findBy":"cssSelector","getValue":false,"markEl":false,"multiple":false,"optionPosition":"1","saveData":false,"selectOptionBy":"value","selected":true,"selector":"input[ng-reflect-name=\"labelFirstName\"]","type":"text-field","value":"{{variables@first_name}}","variableName":"","waitForSelector":false,"waitSelectorTimeout":5000},"id":"forms","itemId":"paJM9"},{"data":{"assignVariable":false,"clearValue":true,"dataColumn":"","delay":0,"description":"Address","disableBlock":false,"events":[],"findBy":"cssSelector","getValue":false,"markEl":false,"multiple":false,"optionPosition":"1","saveData":false,"selectOptionBy":"value","selected":true,"selector":"input[ng-reflect-name=\"labelAddress\"]","type":"text-field","value":"{{variables@address}}","variableName":"","waitForSelector":false,"waitSelectorTimeout":5000},"id":"forms","itemId":"YPkcb"}],"disableBlock":false,"name":""},"events":{},"id":"lb7osxk","label":"blocks-group","position":{"x":960.4678586146366,"y":299.5682485987377}},{"type":"BlockBasic","data":{"$breakpoint":true,"description":"","disableBlock":false,"findBy":"cssSelector","markEl":false,"multiple":false,"selector":"input[class=\"btn uiColorButton\"]","waitForSelector":false,"waitSelectorTimeout":5000},"events":{},"id":"gmwljgp","label":"event-click","position":{"x":1332.8340796747082,"y":449.2684788403566}},{"type":"BlockBasic","data":{"disableBlock":false,"description":"","timeout":20000,"context":"website","code":"automaSetVariable('first_name', automaRefData('loopData', '7btkj9').data[0])\nautomaSetVariable('last_name', automaRefData('loopData', '7btkj9').data[1])\nautomaSetVariable('role', automaRefData('loopData', '7btkj9').data[2])\nautomaSetVariable('company_name', automaRefData('loopData', '7btkj9').data[3])\nautomaSetVariable('email', automaRefData('loopData', '7btkj9').data[6])\nautomaSetVariable('ph_no', automaRefData('loopData', '7btkj9').data[5])\nautomaSetVariable('address', automaRefData('loopData', '7btkj9').data[4])\nautomaNextBlock()","preloadScripts":[],"everyNewTab":false,"runBeforeLoad":false},"events":{},"id":"r24q5go","label":"javascript-code","position":{"x":719.2748733249241,"y":393.5283750115158}},{"type":"BlockBasic","data":{"disableBlock":false,"loopId":"7btkj9","maxLoop":0,"toNumber":10,"fromNumber":1,"startIndex":0,"loopData":"[[\"ali\",\"lastname\",\"role\",\"companyname\",\"address\",\"phone number\",\"email\"],\n[\"xyz\",\"boy\",\"dev\",\"co\",\"po box\",\"8434984\",\"ali@gmail.com\"],\n[\"ali\",\"lastname\",\"role\",\"companyname\",\"address\",\"phone number\",\"email\"]\n]","description":"","variableName":"","referenceKey":"","reverseLoop":false,"elementSelector":"","waitForSelector":false,"waitSelectorTimeout":5000,"resumeLastWorkflow":false,"loopThrough":"custom-data"},"events":{},"position":{"x":698.3007899681799,"y":165.4243282174144},"label":"loop-data","id":"4q10yu1"},{"type":"BlockLoopBreakpoint","data":{"disableBlock":false,"loopId":"7btkj9","clearLoop":false},"events":{},"position":{"x":1608.6786459529599,"y":408.9926937342752},"label":"loop-breakpoint","id":"p62mpz7"}],"edges":[{"type":"custom","updatable":true,"selectable":true,"markerEnd":"arrowclosed","sourceHandle":"-ECP-bo5vZqsPs82XEO32-output-1","targetHandle":"3jlrwiq-input-1","source":"-ECP-bo5vZqsPs82XEO32","target":"3jlrwiq","data":{},"events":{},"id":"vueflow__edge--ECP-bo5vZqsPs82XEO32-ECP-bo5vZqsPs82XEO32-output-1-3jlrwiq3jlrwiq-input-1","sourceX":345.44667222505075,"sourceY":387.8221129578311,"targetX":409.81520039933355,"targetY":383.8218274460252},{"type":"custom","updatable":true,"selectable":true,"markerEnd":"arrowclosed","sourceHandle":"3jlrwiq-output-1","targetHandle":"4q10yu1-input-1","source":"3jlrwiq","target":"4q10yu1","data":{},"events":{},"id":"vueflow__edge-3jlrwiq3jlrwiq-output-1-lb7osxklb7osxk-input-1","sourceX":641.8152003993335,"sourceY":383.8218274460252,"targetX":678.3007899681799,"targetY":201.4243282174144},{"type":"custom","updatable":true,"selectable":true,"markerEnd":"arrowclosed","sourceHandle":"lb7osxk-output-1","targetHandle":"gmwljgp-input-1","source":"lb7osxk","target":"gmwljgp","data":{},"events":{},"id":"vueflow__edge-lb7osxklb7osxk-output-1-gmwljgpgmwljgp-input-1","sourceX":1236.467736544324,"sourceY":469.5682485987377,"targetX":1312.8340796747082,"targetY":485.2684788403566},{"type":"custom","updatable":true,"selectable":true,"markerEnd":"arrowclosed","sourceHandle":"r24q5go-output-1","targetHandle":"lb7osxk-input-1","source":"r24q5go","target":"lb7osxk","data":{},"events":{},"id":"vueflow__edge-r24q5gor24q5go-output-1-lb7osxklb7osxk-input-1","sourceX":931.2748122897679,"sourceY":429.5283750115158,"targetX":940.4678586146366,"targetY":469.5682485987377},{"sourceHandle":"gmwljgp-output-1","targetHandle":"p62mpz7-input-1","type":"custom","source":"gmwljgp","target":"p62mpz7","updatable":true,"selectable":true,"data":{},"events":{},"markerEnd":"arrowclosed","id":"vueflow__edge-gmwljgpgmwljgp-output-1-p62mpz7p62mpz7-input-1","sourceX":1544.8340796747082,"sourceY":485.2684788403566,"targetX":1588.6786459529599,"targetY":484.5864437342752},{"sourceHandle":"4q10yu1-output-1","targetHandle":"r24q5go-input-1","type":"custom","source":"4q10yu1","target":"r24q5go","updatable":true,"selectable":true,"data":{},"events":{},"markerEnd":"arrowclosed","id":"vueflow__edge-4q10yu14q10yu1-output-1-r24q5gor24q5go-input-1","sourceX":910.3007899681799,"sourceY":201.4243282174144,"targetX":699.2748733249241,"targetY":429.5283750115158}],"position":[-243.99673435686077,-49.99233103630738],"zoom":0.7578582832551992,"viewport":{"x":-243.99673435686077,"y":-49.99233103630738,"zoom":0.7578582832551992}},"settings":{"blockDelay":0,"debugMode":false,"defaultColumnName":"column","execContext":"popup","executedBlockOnWeb":false,"inputAutocomplete":true,"insertDefaultColumn":false,"notification":true,"onError":"stop-workflow","publicId":"","restartTimes":3,"reuseLastState":false,"saveLog":true,"tabLoadTimeout":30000},"globalData":"{\n\t\"key\": \"value\"\n}","description":"it's just first state of rpa","includedWorkflows":{}}