Question
I tried to create a Transfer job that is executed when a receiving fails with the same Transfer name as an existing Transfer job that starts when a receiving succeeds, but the conflict below occurred and it could not be registered.
Only Transfer name and Transfer to receive are the same, and the job name and script to be executed are set differently for successful/failed receiving.
Is it possible to separate Transfer jobs for successful and failed transfers with the same Transfer name?
When the conflict occurred, the following message was displayed:
Conflict
{"resultStatusCode":409,"resultMessage":"Conflict","resultData":{"title":"Duplicate combination of Transfer to receive and Transfer name","detail":"Create request causes conflicts between Transfer to receive and Transfer name combinations: transferService id:tXXXXXXXXXXXX-XXXX-XXXX-XXXXXXXXXXXX,transferName id:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},"resultCode":"FAILURE"}
Answer
■Specification
In HULFT Square, users cannot create multiple Transfer jobs with the same Transfer name for a single transfer to be received.
■Workaround
The following procedure allows you to split the processing between successful and failed transfers in the script based on the status code of the Transfer job.
Procedure
- Configure various settings for file transfer.
- Create a script to be executed by Transfer job.
- Create a script variable and specify it as an input variable.
- In the Transfer Job settings, specify the script variable created in step 3 in the Status code field.
- Place Conditional Branch operation in the script created in step 2.
- As a condition for branching, determine whether the script variable's status code is equal to "0" or not.
Since the status code for successful transfer is 0, the process can be branched between successful and unsuccessful receiving of the same Transfer name.
Conditional Branch
https://www.hulft.com/help/en-us/HULFTSquare/Content/Designer/Connector/flow_conditional_branch.htm
Related FAQs
How to recieve files with the same transfer name that are sent consecutively as separate files
https://support.square.hulft.com/hc/articles/8286588350484
Comments
0 comments
Article is closed for comments.