Solved

Write file target file name

  • 9 September 2022
  • 6 replies
  • 94 views

Userlevel 1
Badge +4

I have made an xml file with a normal name like: JP_80_DATE_09_09_2022_14_55_10.xml

and i get the following message in indicium.

 

'2022-09-09T14:54:25.2285042+02:00 800001d4-0001-e900-b63f-84710c7967bb [ERR] Process action 'write_file_connector_exact_journaalpost_verkoop' in processflow 'verkoop_factuur_generatie' returned the following message: Process action 'write_file_connector_exact_journaalpost_verkoop' in processflow 'verkoop_factuur_generatie' was not provided a (valid) value for its 'Target file name' parameter. (54e3959c)’

 

 

Can anyone help me?

icon

Best answer by Maarten 14 September 2022, 10:22

View original

This topic has been closed for comments

6 replies

Userlevel 7
Badge +23

Hi Maarten,

Can you show the Input for this parameter in the Software Factory, and if this is assigned a variable, how that variable get its value?

Userlevel 1
Badge +4

Hi Mark, the value of the variable is an nvarchar and gets set like:

 

set @xml_file_naam = (
                      select 'JP_'
                            + cast(jp.journaal_post_id as varchar)
                            +'_DATE_'
                            + format(getdate(), 'dd_MM_yyyy_HH_mm_ss')
                            + '.xml'
                        from journaal_post jp
                       where jp.journaal_post_id = @journaal_post_id
                     )
select @xml_file_naam
 

Userlevel 4
Badge +2

Are you sure your process variable is holding that value?

If you are filling it with a process procedure the variable must be marked as "Process output available”.

 

Another thing that happens frequently is that the process variable is not linked as the "input” variable in the Write File Connector.

Can you double check if this is the case?

Userlevel 1
Badge +4

@Dick van den Brink  I think both are as they should be configured
But thanks for the tip :)

 

Userlevel 7
Badge +23

Have you found the solution @Maarten?

Userlevel 1
Badge +4

@Mark Jongeling  eventually we took another approach by using the write file non storage location action.