Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Deleting a draft

Avatar

Level 3

Is it possible to delete a draft inside workspace once it has been saved?  My only options are to complete, save in draft folder or to take this form offline.

1 Accepted Solution

Avatar

Correct answer by
Former Community Member

If you mean you want to delete your incremental changes and reset the task back to its original state, then no, this is not permitted but there has been an enhancement request for it already.

If you want to delete the task completely, then no, not directly.  You can only perform the actions that are defined in the process map for the step associated with this task.  If deletion makes sense at this step, then you could add a Delete action that the user could choose to end the task and do whatever makes sense in the process map.

Jon

View solution in original post

1 Reply

Avatar

Correct answer by
Former Community Member

If you mean you want to delete your incremental changes and reset the task back to its original state, then no, this is not permitted but there has been an enhancement request for it already.

If you want to delete the task completely, then no, not directly.  You can only perform the actions that are defined in the process map for the step associated with this task.  If deletion makes sense at this step, then you could add a Delete action that the user could choose to end the task and do whatever makes sense in the process map.

Jon

The following has evaluated to null or missing: ==> liqladmin("SELECT id, value FROM metrics WHERE id = 'net_accepted_solutions' and user.id = '${acceptedAnswer.author.id}'").data.items [in template "analytics-container" at line 83, column 41] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign answerAuthorNetSolutions = li... [in template "analytics-container" at line 83, column 5] ----