Error RDateTime

Hi,
I need help,

Step name ‘letter_macro_step_02_v1.2’ has failed. Reason: ‘[urn:uuid:D6B5A47CA927ABCCF6154322785432874]
robotics-flow executePlugin exception: [nodeId=http://127.0.0.1:15410]
com.workfusion.studio.rpa.recorder.playback.PlaybackException: Error executing
TemplateAction[templateName=CustomScriptAction.ftl,id=18,name=Optional[CustomScriptAction],parent=17,nextSibling=19,
arguments=ActionArguments[delay=[0],xsi:type=[recorder:CustomScriptAction, recorder:CustomScriptAction],active=[true],
script=[@CustomScriptAction( output = ‘datenow’ ) def customScript() { datenow = RDateTime.now() }]]]’

when I try to run it in the workfusion studio it worked, but when I control tower it becomes an error.

Hi @abdu_rachman

Could you please share the customScript code where you are getting possible error? :slight_smile:

@CustomScriptAction(
output = ‘datenow’
)

def customScript() {
datenow = RDateTime.now()
}

@abdu_rachman do you have more than 1 custom script in the business process?
Perhaps, it can be related to this issue

1 Like

Thank you, it works

2 Likes