tridion - How to get the current component TCM id in workflow? -


I try to get the current component TCM ID (the component that has been entered in the workflow) with the given VBSScript I'm doing but I did not get the component TCM ID (like tcm: 56-1567 )

I tried to use the code below, this ID like TCM gives: 56-363-1321200

  processingitem = CurrentWorkItem.ID   

and tried the code below, it Giving ID to TCM Is: 56 -195-131076

  processingitem = CurrentWorkItem.ActivityInstance.ProcessInstance.ID   

And try the code below, this Nothing gives

  processingitem = CurrentWorkItem.GetItem () processingitem = CurrentWorkItem.GetItem (2)    

It should be: CurrentWorkItem.GetItem (2) .id . What does it do for you?

Comments