Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
Is it possible to disable the publish to a Distribution target if the Part is in a particular lifecycle state?
e.g- Part A.1(Version) Approved(Lifecycle State) --> Should publish to DT1
Same part when flows to Released lifecycle state should publish to only DT2 and not DT1
e.g- Part A.1(Version) Released(Lifecycle State) --> Should publish to DT2 only and not to DT1
Does anyone have an idea how this can be implemented? Because Windchill does not allow to remove the DT1 through API in Released state as there is no change in part Version and the part is successfully published to DT1 in Approved state.