Is there a way to get the process model ID from its UUID?...

Is there a way to get the process model ID from its UUID?...

OriginalPostID-127577

OriginalPostID-127577

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer
    Is there a way to use the UUID with the "Start Process Model" smart service in 17.1? I can use the ID to start the process, but I'd rather use UUID, since ID differs per environment. (I want to set up constants to point to the processes that will be started, which differ per environment. Unfortunately, environmental constants can only be used on primitive types - hence my preference for using UUID over ID, since I can't use a Process Model type for this constant.)

    getprocessmodeldetailsbyuuid returns a string that would need to be parsed to get the ID, which is not ideal. A more direct function to get just the ID would be best, or something that returns it in a dictionary instead of a string.
  • 0
    Certified Lead Developer
    in reply to Jason Ruvinsky
    Any reason you don't create constants of type "Process Model", which are fine being exported/imported to different environments and can be used directly in the smart service?
Reply Children