Hexadecimal value 0x08, is an invalid character

word

#1

Hi,

I am trying to save some values in the word document.
Append text activity I am using to add values.

I got Argument exception - ', hexadecimal value 0x08, is an invalid character
image

Please help me in finding a way to add text in the word document.
Thanks,
Saranya K R


#2

place your workflow within Try catch block and define the exception called “Argument exception”


#3

Hi,

Thanks for your prompt reply.
If I catch the argument exception, should I put some activity inside the catch block?
Because if I don’t that value will be ignored, am i right?


#4

You don’t want to put. yes that value will be ignored.


#5

But I need those values also.
Is there any way to store that also inside the word document?


#6

What value you are getting?


#7

It is combination of hexadecimal values and normal string & integer values.


#8

Convert it into string and check it.


#10

Can you attach your workflow


#11

Hi,

I have attached the workflow.

Test_123.xaml (11.2 KB)

The inputs can be any one of the following:

  1. ? WA140801: pass nMin???B-- local variables --------4]?ha]??a?’?
  2. Protection?ReportDisplayUsePassword %b’0 ??Se ??

#12

I have tested it. Its working fine


#13

Hi,

It ignores the string which contains hexadecimal values or it returns the string?
Is there a way to append the string which has hexadecimal value in the word?