CM87 Absent Member.
Absent Member.
256 views

Successful operation failed in studio

Hi,

 

I’m trying to delete txt files on a remote machine. When I run the remote delete step it actually removes the files but the step returns an error:

 

{returnCode=0;returnResult=Successfully removed directory;Result=0;sessionId=new session;}

 

Does anyone have any idea as to why the step fails when it actually does what I want?

 

Inputs I have are:

 

host

username

password

directory

extension

date

 

Many Thanks!

Labels (1)
0 Likes
4 Replies
AdinaTusa Absent Member.
Absent Member.

Re: Successful operation failed in studio

Hello CM87,

 

 

Can you tell us more details: what operation do you use, which version of the CP, what OS has the target machine?

0 Likes
CM87 Absent Member.
Absent Member.

Re: Successful operation failed in studio

Hello,

 

The operation is remote delete with success and failure responses. - /Base [1.3.0]/Library/Operations/File System/Windows Only/Deprecated/Remote Delete

 

Target host is running Windows Server 2012 R2 Standard (64 bit).

 

I'm not sure what you mean by CP though?

 

Thanks.

0 Likes
AdinaTusa Absent Member.
Absent Member.

Re: Successful operation failed in studio

Hello,

 

 

Please avoid to use Operations/Flows from Deprecated folders. In you case, please try to use FS Delete operation from Cross Platform or from Windows Only folders.

 

 

Kind regards,

Adina

0 Likes
CM87 Absent Member.
Absent Member.

Re: Successful operation failed in studio

Thanks for your help.

 

FS delete operation is working.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.