Skip to main content
Solved

Write file target file name

  • September 9, 2022
  • 6 replies
  • 103 views

Forum|alt.badge.img+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?

Best answer by Maarten

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

View original
Did this topic help you find an answer to your question?
This topic has been closed for replies.

6 replies

Mark Jongeling
Administrator
Forum|alt.badge.img+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?


Forum|alt.badge.img+4
  • Author
  • Vanguard
  • 24 replies
  • September 9, 2022

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
 


Forum|alt.badge.img+3

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?


Forum|alt.badge.img+4
  • Author
  • Vanguard
  • 24 replies
  • September 9, 2022

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

 


Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Administrator
  • 3945 replies
  • September 14, 2022

Have you found the solution @Maarten?


Forum|alt.badge.img+4
  • Author
  • Vanguard
  • 24 replies
  • Answer
  • September 14, 2022

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings