Deleted folder s3 code is not working

Hello Team,

I am not able to deleted the folder using the s3 library provided by workfusion.

below is the code for the same

<?xml version="1.0" encoding="UTF-8"?>

<config xmlns="" scriptlang="groovy">

		<robot driver="universal">

	            accessKey		= "admin"
	            secretKey		= "admin123"

                    s3EndpointUrl	= "http://localhost:15110";
                    signerType		= "S3SignerType";
                    bucket			= "mlrpa";
                    s3Key			= "inputfile/";
                    S3.deleteFolderFileS3(s3EndpointUrl, signerType, accessKey, secretKey, bucket, s3Key);






    <export include-original-data="true"/>


Could you please look into the issue and provide some solution

Hello @diptiranjanpanda.
Which exception do you receive with this code?

i am not getting any exception but the bot not able to deleted the folder in the minio

Did you check this code in Studio bot task or in Control Tower?

i have checked both rpa express and control tower its not working

Thank you for the information. I was able to reproduce the same behavior on my side and informed team about this. I can suggest to use S3 plugins to delete folder. Please see my example:

<?xml version="1.0" encoding="UTF-8"?>
<config xmlns="" scriptlang="groovy">

    <s3 bucket="public">
       <var-def name="s3-del-test-file">
			<s3-delete name="test/test.txt"></s3-delete>			
    <export include-original-data="true"></export>

1 Like