Is there a function to get state name from SID?

Created on 20 April 2016, over 9 years ago
Updated 25 June 2025, 3 months ago

I've had an awful time with features and SIDs being reassigned on import, so I've resolved to dynamically load SIDs from state names in all of my customizations that leverage workflow. Unfortunately, I cannot for the life of me figure out what function I would need to call to load a State Name by SID. I'm assuming there is such a function and that I wouldn't need to query the database for this info. Am I overlooking something?

💬 Support request
Status

Closed: outdated

Version

2.8

Component

Workflow Field API

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024