Issue when running bot task

When I run my taskbot, I have recieved error:
Step name ‘Web page automation[2019-10-01 17:42:11]’ has failed. Reason: ‘[urn:uuid:E392C418C9518C13421569941004392236] robotics-flow executePlugin exception: [nodeId=http://127.0.0.1:15410] org.springframework.web.client.HttpServerErrorException: 500 null’

P.S. My version WorkFusion Intelligent Automation Cloud 2.4.0.

Do you only get this error in Control Tower? Can you run it in WorkFusion Studio correctly?

No, I didn’t.
This bot in WorkFusion Studio works properly.

Can you share your bot task and the exported events log here?

events_step_467c4dcb-4a02-4d3d-9795-fd18ddbb8bc0_2019-10-02 09_05_09.xlsx (5.1 KB)

Please share the bot task code.

import com.workfusion.studio.rpa.recorder.api.*
import com.workfusion.studio.rpa.recorder.api.types.*
import com.workfusion.studio.rpa.recorder.api.custom.*
import com.workfusion.studio.rpa.recorder.api.internal.representation.*

import com.workfusion.bot.exception.*

        
            def result = RString.of('')
            
        
            def site = RString.of('https://www.xe.com/currencyconverter')
            
        
            def amount = RString.of('100')
            
        
            def from = RString.of('USD')
            
        
            def to = RString.of('CNY')
            

com.workfusion.rpa.helpers.RPA.metaClass.static.$ = { Closure c -> c.call() } // Support for Expression action. Should be implemented in RPA class in next release.



    /* Web page automation

Converted from 100 USD to Chinese Yuan on site https://www.xe.com/currencyconverter. */
// Group of actions: ABOUT



    openChrome(UrlOperations.ensureProtocol("${site}"))

window().maximize()


		$(byXpath("//*[@id=\"amount\"]")).setValue(String.valueOf(amount))


		$(byXpath("//*[@id=\"from\"]")).setValue(String.valueOf(from))

inDesktop {
        sendKeys(StringTransformations.getKeyPressText(28, 13, 10, 0))
}


		$(byXpath("//*[@id=\"to\"]")).setValue(String.valueOf(to))

inDesktop {
        sendKeys(StringTransformations.getKeyPressText(28, 13, 10, 0))
}



            $(byXpath("//*[contains(@class, \"OldButton-sc-1wdh3eu-5 submitButton\")]")).click()
        



            result = RString.of($(byXpath("\n//*[@class=\"converterresult-toAmount\"]")).text())

    sleep(5000)
1 Like

Maybe, there are new answers in this topic?