This topic provides detailed design information that directly supports SDK implementation of the design.
The minimum requirements for implementing a Smart Tasks component are to:
A base component ActSequenceActivity is supplied for SDK consumers to derive from, but it is not a requirement. The Smart Task components all derive from the base component.
ACTSequenceActivity
The design for the components calls for a base sequence activity in the Act.Framework.ComponentModel.Core assembly that will be part of the SDK. This ACTSequenceActivity activity encompasses all the functionality common to Smart Task activities: the Workflow Definition Name, Show Dialog, Requires User and Description and the ACTSequentialEntityWorkflow.
SequentialEntityWorkflow
The design for the Sequential workflows calls for a base sequential activity in the Act.Framework.ComponentModel.Core assembly that will be part of the SDK. This activity derives from System.Workflow.Activities.SequenceActivity. The SequentialEntityWorkflow activity encompasses the functionality common to a Smart Task sequential workflow. This is the abstract base class for any entity-based workflow and provides context of current user and current entity to inheritors. The class provides access to the ActFramework, Current User, Current Entity and the Current Entities Record Manager.
SequentialContactWorkflow
The design for the Sequential workflows calls for a base sequential activity in the Act.Framework.ComponentModel.Core assembly that is part of the SDK. The SequentiaContactyWorkflow activity encompasses the functionality common to a Smart Task sequential workflow that is run for a Contact record. This class provides access to the Contact record that the Sequential workflow was run by overriding the CurrentEntity from the base class.
SequentialOpportunityWorkflow
The design for the Sequential workflow calls for a base sequential activity in the Act.Framework.ComponentModel.Core assembly that is part of the SDK. The SequentialOpportunityWorkflow activity encompasses the functionality common to a Smart Task sequential workflow that is run for an Opportunity record. This class provides access to the Opportunity record by overriding the CurrentEntity from the base class.
The following activities currently derive from the ACTSequenceActivity activity:
These activities implement the logic and attributes specific to each Smart Task activity. For example, the Send E-mail activity has attributes for the subject of an email message and body of an email message.