How to enable Workflow Properties Extension Form Design Node

Hello All, I am working on a workflow on Inventory movement Journal via extension. Who can tell me how to successfully enable the workflow properties on my form.

When I try do that directly using the property window and compile.

[ExtensionOf(formStr(InventJournalMovement))]
final class InventJournalMovementForm_Extension
{

///


///
///

///
///
[FormDataSourceEventHandler(formDataSourceStr(InventJournalMovement, InventJournalTable), FormDataSourceEventType::Initialized)]
public static void InventJournalTable_OnInitialized(FormDataSource sender, FormDataSourceEventArgs e)
{
InventJournalTable inventJournalTable;

sender.formRun().design().workflowDatasource(inventJournalTable);
sender.formRun().design().workflowEnabled(true);
sender.formRun().design().workflowType(“InvMovJourWFType”);
}

}

This class seems to compile without error. And when I launch the form. it throws an error: Menu item could not be opened.

Kindly provide help.

Warm Regards