How do I archive WB project without results using scripting?

Member, Moderator, Employee Posts: 479
100 Answers 250 Likes 100 Comments Second Anniversary
✭✭✭✭
edited June 2023 in Structures

I want to archive my WB project using scripting but using the Archive() method archives the project with result files. How can I archive it without results (.rst file etc.)?

Tagged:

Best Answer

  • Member, Moderator, Employee Posts: 479
    100 Answers 250 Likes 100 Comments Second Anniversary
    ✭✭✭✭
    Answer ✓

    The boolean argument IncludeSkippedFiles does the trick. If set to False the archived project doesn't include the result files (.rst etc.). Example usage:

    1. Archive(FilePath="\Path\to\my\test.wbpz", IncludeSkippedFiles=False)

Answers

Welcome!

It looks like you're new here. Sign in or register to get started.