1. Home
  2. Docs
  3. Microsoft Activities
  4. TryGetCachedValue

TryGetCachedValue

Try Get Cached Value

  • Represents an activity to get a cached value.

Properties

      Common

  • DisplayName (String)- The display name of the activity.

      Misc

  • Name (InArgument<SelectedDatatype>)- Gets the name of the cached value.
  • Value (OutArgument<SelectedDatatype>)- Gets or sets the value of the cached value.
  • Result (OutArgument<Boolean>)- Checks if the provided name exist in cache.
  • Private (Boolean)- If selected, the values of variables and arguments are no longer logged at Verbose lev

Example

  • Create a new Process and then click on Manage Packages. Now search for Activities in search bar. Install this package and click Save.
  • Drag Set Cached Value activity to the workflow area. Fill in the different properties   of the activity. Enter the cache name, its value.
  • Use the property Persisted if you want the Cache value to be persisted.
  • Drag Try Get Cached Value activity to the workflow area. Fill in the Name property in the activity whose Value you need to get. Take output in Result variable