Interface SmartServiceContext
- All Known Implementing Classes:
AbstractActivity
public interface SmartServiceContext
Context available to Smart Service at runtime. This provides execution time
information regarding the Process Model, User context, and Locale information.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the metadata associated with this execution, including properties related to the Process Model and Tasks.Returns the primary Locale of the Appian System.Returns the Locale of the User executing this Smart Service.Returns the User for whom this Smart Service is executing.
-
Method Details
-
getMetadata
ActivityExecutionMetadata getMetadata()Returns the metadata associated with this execution, including properties related to the Process Model and Tasks.- Returns:
-
getProcessModelProperties
ProcessModelProperties getProcessModelProperties() -
getProcessProperties
ProcessProperties getProcessProperties() -
getTaskProperties
TaskProperties getTaskProperties() -
getUsername
String getUsername()Returns the User for whom this Smart Service is executing.- See Also:
-
getPrimaryLocale
Locale getPrimaryLocale()Returns the primary Locale of the Appian System.- Returns:
- See Also:
-
getUserLocale
Locale getUserLocale()Returns the Locale of the User executing this Smart Service.- See Also:
-