billster Posted August 1, 2023 Share Posted August 1, 2023 yesterday I was able to click and choose a workspace when using 'post to workspace' Hornbill automation But now it is empty, if I choose variable and input the name the BPM crashes Last Updated On : 2023-08-01 12:10:48 Xmlmc method invocation failed for BPM invocation node 's1/flowcode-9a58d65b': <methodCallResult status="fail"> <state> <code>0207</code> <service>apps</service> <operation>collaborationPostToWorkspace</operation> <error>/apps/com.hornbill.core/flowcode/fc_modules/activity_xmlmc.js(101): error X1001: Uncaught EspMethodCall::invoke: Operation[activity::activityPostMessage] The specified activity stream does not exist</error> <flowcodeError> <where>Execute</where> <filename>/apps/com.hornbill.core/flowcode/fc_modules/activity_xmlmc.js</filename> <lineNumber>101</lineNumber> <columnPos>14</columnPos> <message>Uncaught EspMethodCall::invoke: Operation[activity::activityPostMessage] The specified activity stream does not exist</message> <errorCode>1001</errorCode> </flowcodeError> </state> </methodCallResult> Hornbill automation with workspace already set as manual and has a value still work but not able to change the workspace. Link to comment Share on other sites More sharing options...
Steve Giller Posted August 1, 2023 Share Posted August 1, 2023 Those Workspaces are set to Secret - when I set up this node I can only see Open Workspaces. As the dropdown uses the getPublicWorkspaces API this seems to be correct. 22 minutes ago, billster said: if I choose variable and input the name the BPM crashes Workspaces are not identified by Name, you would need the variable to contain the ID of the Workspace here. Link to comment Share on other sites More sharing options...
billster Posted August 1, 2023 Author Share Posted August 1, 2023 oh ok makes sense, thank you. Out of interest how do you get the ID of Workspaces? Link to comment Share on other sites More sharing options...
James Ainsworth Posted August 1, 2023 Share Posted August 1, 2023 If you navigate to the workspace, you should see the ID in the url starting with urn. For example 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now