Create a Function

Create a Function

In order to create a new Function, follow the steps below:

  1. Click +Add while on Functions tab. You can select Folder to create a folder to organize your functions. To create a new function, select Function. You can learn more about Gherkin Step in https://subject7.atlassian.net/wiki/spaces/SD/pages/2376433746

    image-20250421-120943.png
  2. Specify Name, Keywords, and Comments for your Function.

    image-20250421-120953.png
  3. Click on “Select Command” to show the details panel and select a command.

    image-20250421-121011.png
  4. Subject7 will automatically display a new blank step, but if you would like to add additional ones, right-click the step and select Insert before or Insert after.

    image-20250421-121034.png
  5. To delete a step, you can either right-click it and click Delete, or select the checkbox and click Delete from the floating action palette on the left.

    image-20250421-121100.png
  6. To change the command without deleting the step, you can click Change on the details panel.

    image-20250421-121115.png
  7. To add comments to your steps, click on the Comment icon in the floating action palette.

    image-20250421-121130.png
  8. Click on Save icon to save your Function. Once saved, your newly defined Function will appear in the Function list.

    image-20250421-122413.png
  9. You can click … More > Advanced View icon to get to the editor mode as opposed to wizard mode to make all your edits to the Function. Refer to Advanced View for more details.

    image-20250421-122524.png
  10. This will show you your steps in SQL-Like language. Refer to https://subject7.atlassian.net/wiki/spaces/SD/pages/971702295 for more details on this.

    image-20250421-122609.png

Tip

Function creation date/last update times use the users' local time