Process Builder Batch Remover

Delete all versions of a process in a batch

< Обсуждения Process Builder Batch Remover

Отзыв: Хороший — скрипт работает как нужно

This works well for me, thank you!

(1) It would be great if it could delete Inactive versions while leaving the current Active version untouched.

(2) Adding the first line below, and updating the second line as follows provides a more 'Lightning' look

btnDiv.style = "width:calc(100vw - 240px);margin-left:10px;text-align: right;";

btnDiv.innerHTML = '<button type="button" id="btnDelVersions" value="true" class="slds-button slds-button_destructive" style="line-height: 1.3;min-height: 30px;">Mass Delete Versions</button>';

Ответить

Войдите, чтобы ответить.