1

I am creating Tridion structure group using core service in c# as below

ServiceClient.Create(structureGroupData, new ReadOptions() { LoadFlags = LoadFlags.Expanded })

I want to associate workflow which parent has when creating new structure group using above code.

1 Answer 1

3

If you want to use all process associations from parent publication you can set ShareProcessAssociations on publication to true. Be aware that all process associations will be shared - for components, pages, templates, etc.

If you want to do it only once, for this particular item you can set:

structureGroupData.PageBundleProcess = new LinkToProcessDefinitionData{IdRef = porcessDefinitionId};
structureGroupData.PageProcess = new LinkToProcessDefinitionData{IdRef = porcessDefinitionId};

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.