Skip to content

Commit

Permalink
Add todolist name to dump file name
Browse files Browse the repository at this point in the history
  • Loading branch information
mjh-c committed Feb 7, 2019
1 parent 734012a commit 603cceb
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,13 @@
</baseMessage>
<response responseVar="todolist_details" />
</pushMessage>
<dumpFile templateName="dump_todolist" encoding="windows-1252"
destinationFile="str:concat(datetime:format(datetime:parseISO8601(datetime:now()), 'yyyy-MM-dd-HH-mm-ss'), '.txt')">
<setLocalVariables>
<property name="local.todo" expression="todolist_details.body.responseObject"/>
</setLocalVariables>
<dumpFile templateName="dump_todolist" encoding="windows-1252" append="true"
destinationFile="str:concat(local.todo.instance.header.name, '-', datetime:format(datetime:parseISO8601(datetime:now()), 'yyyy-MM-dd'), '.txt')">
<context>
<entry name="todo" expression="todolist_details.body.responseObject" />
<entry name="todo" expression="local.todo" />
</context>
</dumpFile>
</actions>
Expand Down

0 comments on commit 603cceb

Please sign in to comment.