I have email Workflow Action that triggers on Adds_and_Updates.
A pdf is emailed and archived. This has been working fine for 1000+ record updates. But now I have one record that, after updating, does not trigger the Workflow action. The TimeStamp field in the record is updated; I see an โEdit Rowโ operation in the log; but no pdf is emailed or archived. Any insight as to why this might occur ?
Nevermind for now: I see an error in the Audit Log: โError: โ.โ, hexadecimal value 0x00, is an invalid character.โ
Iโll
be more careful building my attachment namesโฆ
How do I know what field has the invalid character? (I doubt itโs related to my attachment name.) The error is
โErrorsโ: โError: โ.โ, hexadecimal value 0x00, is an invalid character. Line 1, position 56976. Error: โ.โ, hexadecimal value 0x00, is an invalid character. Line 1, position 33656.โ
These are the AscII decimal characters in the string. Notice the โ151โ and โ0โ between the 2nd and 3rd space character (ascii 32). 83 111 117 116 104 32 115 105 100 101 46 32 10 51 32 151 0 32 49 48 48 48 32 103 97 108 108 111 110 32 116 97 110 107 115 32 105 110 32 115 101 114 105 101 115
@Morris_Arthur Hi Moris, I see that the text comes from data in your spreadsheet. Could you try modifying this text to eliminate the illegal characters and then try triggering the workflow again?
Yes. As I specified earlier, I was able to circumvent the error by changing the userโs text.
But I donโt know how the data got into the AppSheet data fieldโฆ
@Morris_Arthur Hi Morris, this error can occur if there are characters in the generated PDF or email that cannot be processed by our server. Since the workflow template has been working before, most likely the illegal character might have come from the rowโs data. However, to investigate further, we will need more information. Could you give us your account ID, the names of the relevant app and workflow, as well as the approximate time when this error occurred?
@Harry Thanks, Iโll try to get that stuff to you on Monday 7/23.
@Harry Sorry: I went ahead and changed the data to continue the
userโs workflow. The offending text had what looked like a long dash in the textโฆ and translated to 151 and 0 in Ascii decimal. Thatโs what Appsheet Change Workflow Rule apparently choked on. It must have been pasted in from somewhere else, like Word (?)
Iโll try to re-create in a different record.
Hmm,
Appsheet did not let me paste the offending text that I had copied from the source tableโฆHowever, the Failure is in the log for App โeROSSโ,
id โ555920โ
7/23/2018 4:48:09 PM
@Morris_Arthur Hi Morris, I was unable to reproduce the error using the error log. Could you share with me the problematic text directly? You can simply post it here as a comment.
@HarryMost editors (including Appsheet and Google+) wonโt let me paste the full text. Hereโs a screenshot from Excel:
@Harry This is what youโll get when I copy paste the whole cell here: South side.
3 โ
User | Count |
---|---|
18 | |
10 | |
8 | |
6 | |
5 |