Using custom action in SAP

I am trying to build an SAP Automation by RPA Express. I need to handle the dynamic filter with Table variables, so I tested Custom Script at your previous post. But I had an error on this Customer Script.

@CustomScriptAction(
input = [‘table_values’, ‘row_counter’],
output = ‘row_value’
)

def customScript() {

def row_value = table_values.getRow(row_counter)
}

Please let me know what I shoud do. This is my test bot and error logs. Custom_Script.zip (587 Bytes) studio.zip (10.3 KB)

@s_hagiwara I think it is because of the quotes characters in the input and output.
You need to use straight quotes, not curly ones.

@CustomScriptAction(
input = ['table_values', 'row_counter'],
output = 'row_value'
)
2 Likes

Dear Alesia-san

Thank you for your early response and a lot of support.
I inderstood your message. I will check it and retry later.
Many thanks.
Best regards,
Shigeki Hagiwara

1 Like

Dear Alesia-san

Thank you for your lot of support.
I solved this problem ! Many thanks !
Best regards,
Shigeki Hagiwara

2 Likes