What have you tried so far? I’m looking at the following thread:
That provide the current node key, so maybe there’s mor to be found by using UMB_DOCUMENT_WORKSPACE_CONTEXT? As noted in that post, adding <umb-debug visible dialog></umb-debug> might be helpful to dig a little deeper.