Calling sharepoint integration from expression

Certified Associate Developer

I have a Sharepoint connector defined and authenticated with an integration that uses it. It is set to create a folder. I am trying to use it in an expression like so:

a!localVariables(
    local!user: rule!HR_getUserFromUuid(ri!uuid),
    local!employeeFolder: upper(user(local!user, "firstName")) & " " & upper(user(local!user, "lastName")),
    rule!HR_SharepointCreateFolder(
      folderName: local!employeeFolder,
      rootPath: cons!HR_SHAREPOINT_EMPLOYEES_FOLDER
    )
)


It however doesn't create the folder. If I go to the integration, enter the same values as test inputs and click test, it does work as expected.

  Discussion posts and replies are publicly visible