How to get the BPT Activity ID from a newly created human activity


We are creating a BPT process which creates a new human activity which will be assigned to a new group using ActivitySetGroup server action, but as one of the inputs it needs the ActivityId.

At the moment, we are not sure how to obtain this ID, does anyone have any pointers?

Thank you



I might be missunderstanding your questions but doesn't the Runtime Property "ActivityId" of the Human Activity work out for you?

Best regards.

Thank you, completely missed that.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.