Hi
Im unable to make Create File Object work on iPhone Ios 17.6.1 for files (pictures work fine).
As soon as the action is triggered it fails: “action node failed: Create File Object”.
I have tried allowing only certain types of files (e.g. strictly PDF) but it fails nevertheless.
When I click the add file, it opens up the iPhone selector with the choices image library, “Take picture or video” or Pick file"
I encountered a similar issue that I couldn’t reproduce consistently, but the root cause was traced to my “create file object” action referencing a runtime object class. I resolved it by removing the reference during the creation and updating the file object class afterward with the runtime object class.
Could you try this approach? Remove Contract (temp) from the values on create in the “create file object” action, and instead, add an “update object” action to update the File pdfs with Contract (temp) after creation.
Hi
I can try this but it doesn´t explain why this works on everything else than ios… ?
Also, this is a valid way of doing it, isn´t it? Im doing the exact same thing on photos without any issues.
Would appreciate some more info, like is this a bug that Appfarm is working on to resolve, is it a problem with iOS that cannot be resolved, etc…
I agree that your current setup is correct, and the approach you’re using is valid. The workaround I suggested is mainly for debugging purposes, as I’ve encountered a similar issue before. If the workaround works, I’ll have a better understanding of the underlying problem and can dig deeper into what might be causing the difference on iOS.
So far, we haven’t registered a bug on this issue. Let me know how it goes, and we can investigate further from there.
Hi
The workaround did not help. I just tried to remove the reference to temp.
I also tried to remove the filter on the datasource too se if that could help.
The result is the same as before.
Error: File Import aborted.
Are you able to succesfully upload a pdf from an ios device in your environment?
There have historically been some issues / weird behaviour on this topic. Just a quick checklist I would like you to verify / check
Is this action triggered directly from a button? The Create file object action node must be interpreted as “user initiated” on iOS and it might be that the action node must be the first action node in the action
Are any “Open URL” action nodes triggered previous to this file upload? There have been some issues with Open URL without “Open in new window” (expected to open in same window, but doesn’t for all cases). If so, try ticking “Open in new window”.
Anyone else experiencing this, or just you? Try clearing cache.
It appears there was some internal miscommunication, as I initially believed we had already attempted to reproduce the issue on iOS. However, after testing it myself, I was able to replicate the problem. I have now logged this as a challenge, and we are working on a solution.
Thank you for your understanding and for reporting the bug.