I have an app with a notification center, not dissimilar to Facebooks. There are about 12 types of notifications. The text within each of these changes based on the “type.”
If the Notification type is “newlevel”, text reads: “Congratulations on reaching a new level!”
If the Notification type is “newFriend”, text reads: “You have a new friend request.”
And so on…
Now I’ve found myself wanting to use that printed out text and push it into an API WF. However, that text isn’t actually stored inside the DB, but generated on page load based on the 12 conditionals.
I don’t want to create a WF with a ton of conditionals, but rather, somehow take the value of the text and use it.
Haven’t found a way to do this. (Current Cell’s Notification has the DB type, but not the text).
Any ideas would be awesome! Thanks guys!