Issues running Swift PAF workflow

Hi Guys,

I have a bit of an unusual one.

We have a workflow which uses the Swift PAF plugin, we have used this for quite some time, daily.

They did an update recently to the software, but ever since the workflow does not work with hotfolders. It will produce the letter with no text. Use the same workflow but run it manually through Workflow itself, works fine.

Any thoughts what this could be ?

If I read it correctly, SwiftPAF works when run through Workflow in debug mode, but not when Workflow runs as service?

If so, this is likely because after upgrade, SwiftPAF stores client ID and secret using Windows Credential Manager (you should have been prompted for those the first time you started SwiftPAF gui after upgrade) and that is user specific. When Workflow service runs, SwiftPAF will try to read the password from the Workflow service user’s credential manager, which does not have the password.

If your Workflow service user is a regular user, you can log in as that user, start SwiftPAF which should prompt you for client id and secret. After saving credentials, next run should work.

For Workflow running under Local System account, this can be achieved with syskey command via a Task Scheduler:

Command:
C:\Windows\System32\cmdkey.exe

Parameters:
/generic:SwiftPAF /user:REPLACEME /pass:REPLACEME