Skip to main content
May 20, 2021
Question

"Text Doc From Template" smart service giving empty document

  • May 20, 2021
  • 0 replies
  • 0 views

Hi guys,

We've got a process that runs daily, which gets login audit data from the system logs and populates them into a text document. We then use the "Import CSV to Database" smart service to populate those values into a table. On some of our environments it works fine, on others we're getting an error returned from the Import smart service: "No value specified for parameter 2".

On further analysis, it appears the document we're generating using the "Text Doc From Template" smart service is being created empty, without any data, even though it should be populated. If I run the expression rule that populates it independently, it's returning values. Looking at it, as far as I can see the expression rule and the process that calls it are identical across all our environments, so I'm trying to figure out why it's creating an empty document when it should be populated.

Any ideas how to troubleshoot further or what might be causing the issue?

Thanks