Hi Paul,
It's returning a string, specifically an e-mail address.
Okay, it is set to be short-lived and everything was left to the defaults. I disabled the security, the "runAs" is also disabled.
There is an error in the App log:
ERROR [com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker] An exception was thrown with name com.adobe.idp.dsc.DSCException message:No Credential or Context set while invoking service LDAPService and operation ldapQuery and no fault routes were found to be configured.
What does this error mean exactly?
And the service does work inside of Workbench.