Step 4: Create the BDL session initiator function and instantiate a new session

In your BDL function declared as session initiator, you must:

For example:
FUNCTION GetInstance()
  # Generate an unique string (can come from a database table id)
  LET ServiceState = com.Util.CreateUUIDString()
      ... Store ServiceState value into database or use directly a 
          database table entry to hold the session
END FUNCTION