Hello,
Does anyone know if it’s possible to make changes to an element from a workflow?
Hello,
Does anyone know if it’s possible to make changes to an element from a workflow?
You can set state on an element from a workflow, and then use that custom state from the element. For example binding to it to change the content, or setting a conditional based on the custom state value.
If you’re unsure how to do this, please let me know and I’m happy to go into further detail.
I think I’m figuring it out that my main problem is changing the data source for an element.
I’m trying to change the item # from a list I have through a workflow.
To do this, you could create a custom state (called for instance “selected item” with type = number) on the element with the data source.
In the workflow, you change the value of the “selected item” state.
In the element with the data source, you search for the data and then bind the “selected item” state value to the item# expression e.g. Search for [Data Type]s:item#[Element]'s selected item
Thanks, unfortunately this seems a lot more complicated than creating a state. I appreciate your help
It’s actually not too complex once you get your head around it. I’ve taken a couple of screenshots for clarification.
First thing to do is create a custom state (a good place is on the containing Group). You can use the custom state in the Data source’s dynamic expression:
Next, in the workflow, use the Set state action to set the custom state to whatever value you like:
Hopefully that makes more sense
Ah yes. I was trying to create custom states for data (which doesn’t seem possible) since I’m trying to create a way to skip songs in a playlist.
I’m guessing there’d be too many custom states assigning an item number to each song, and then I’m not sure how to even create a workflow that would take the current song’s item # and add 1.
This topic was automatically closed after 70 days. New replies are no longer allowed.