Hallo, how can I retrieve username attribute from table User?
I write this code in my workflow:
...
UserS = cmdb.queryClass("User")
.with("Username", "myusername")
.fetch();
...
but it generates this error:
"Error: org.cmdbuild.workflow.CMWorkflowException: org.enhydra.shark.api.internal.toolagent.ToolAgentGeneralException: Sourced file: eval stream : Method Invocation fetch"
Probably I can execute query only on Card class, so to retrieve Username logged how must I do?