Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article is about how to implement delete function of an instance of a form which is not listed in My Forms.

Step-by-step guide

Implement the following step

  1. Amend the workflow of the form to have the following highlighted actions and status changes for action:
    1. Image Removed

 

...

    1. New action, name DELETE for status Draft is introduced.
    2. New status changed, named "Deleted" for Action DELETE is added.
    3. Image Added
  1. Implement method PERFORM_ACTIONS_FOR_STATUS_CHG of a class inherited from the base class /IQX/CL_FORMS_BASE_CLASS
    1. Image Added

Once implement, the form in Draft status will have Delete button. If the Delete button is pressed, the form instance status will be changed to Deleted and marked as Deleted. It will not appear in the My Forms list but still be tracked by using admin report /IQX/FAB_DATA.

Image Added

Filter by label (Content by label)
reverse
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@223dfe
showSpacefalse
sortmodifiedtitle
truetypepage
cqllabel = "kb-how-to-article" in ("workflow","app-life-cycle") and type = "page" and space = "IFAB"
labelskb-how-to-article

...

Page Properties
hiddentrue


Related issues