Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.
  1. Select the shape whose events you want to edit. Right-click the shape and select Properties.

  2. In the Properties dialog box, click Events.

  3. Click New, choose the type of event you want to add, and then click OK.

    The appropriate event properties dialog box opens.

  4. Type a Name for the event.

  5. Choose the stereotype you want from the drop-down list. If a stereotype you want to use isn't listed, you can add a new stereotype or edit an existing one by clicking Stereotypes on the UML tab of the ribbon.

  6. Type any documentation you want to add to the element as a tagged value. When you select the shape or icon representing the element, the documentation you type here also appears in the Documentation window.

  7. Depending on the type of call you've selected, there may be other properties to complete, as described in this table:



    Applies to


    Choose the operation the event calls for.

    Call event


    Choose the language in which you want to write the change expression.

    Change event, Time event


    Write the change expression, using the language you specified. A change expression consists of a Boolean condition. The event occurs when the value of the expression changes from FALSE to TRUE.

    Change event


    Choose the signal to which the event is related. All signals defined for the relevant package are listed here.

    Signal event


    Write an expression, using the language you specified, that indicates a period of time after which or a specific date or time on which the event will occur.

    Time event

  8. Repeat steps 3 through 7 until you've added all the events you want, and then click OK to close the UML Properties dialog box for the package.

    The events you add to a package are available to other appropriate elements, such as action states, contained in the package.

Tip: You can also create new events by clicking Events on the UML menu. Select the package in which you want the event to be created, and click New.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!