Move file1

can anyone help me I am use ChatGPT & I am trying to move file in other folder by message box variable(responseButton) if ans is yes then move that file in destination folder

image

Hi @Yogita_Gaikwad1
You can use input dialog
It will show option for you
You can custom dialog
To move file
Regards,
LNV

@Yogita_Gaikwad1

  1. Message Box (output result: responseButton)
  2. If (Condition: responseButton = “Yes”)
    3. Move File (From: sourceFilePath, To: destinationFolderPath)
    4. (Optional) Else (Handle other cases if needed)
  1. Use the “Input Dialog” activity to ask the user for a response.
  2. Use the “Move File” activity to move the file based on the user’s response.
  3. Use the “If” activity to check the user’s response and perform the move based on the condition.
  • Drag and drop the “If” activity.
  • In the “Condition” field, use an expression to check if the user’s response is “Yes,” for example, responseButton.Equals(“Yes”).

Hope it helps You!

1 Like

image

I am tried but this error is come
image

  • In the Input Label Field write (“Yes;No”)
  • Value Entered (Create a variable)ex:Result
    If(Result.Equals(“Yes”)
    then Move File
1 Like

image
This error is come when select yes

image

and i pass this strResume variabe of digitize document in source of move file

image

go through the path provided properly and once verify the scope of variable DocPath

1 Like

I have done with this but again that error is come can u check in my workflow?

Ya definitely!Attach the workflow

1 Like

ResumeScreening.zip (225.6 KB)
check ShortlistingResume workflow

I Tried Giving Absolute Path And it worked out In move File Activity

1 Like

can u plz send screenshot or file