CoreBOSBB

Full Version: Help with context variables in send email worflow task
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

The short question would be if it is possible to use the context variable's value, got in one of the workflow tasks, in send email task, specifically in the body of the email message?
If so, what would be the correct syntax in the sent email task?
If no, what would be the best way to accomplish that?

I am trying to send via email some information, got with the aggregation function from some fields. The aggregation works fine, not sure how to use that aggregated value in the email message body.

Gedas.
This is the question that requires an immediate response, and it is as follows: is it possible to use the value of a context variable that was obtained in one of the workflow tasks in the send email task, more specifically in the body of the email message that is being sent? It is imperative that an answer be provided to this inquiry as quickly as is humanly possible. In the event that this hypothesis turns out to be correct, then the task of sending an email requires a particular syntax; what is it? In the event that the question is not answered in the positive, which of the following strategies would be the most effective way for you to accomplish what you want to do?
I really do not like the tone of that message. You do know how open source is supposed to work, right?

See if these discussions help

https://discussions.corebos.org/showthread.php?tid=1501&highlight=__WorkflowFunction__

https://discussions.corebos.org/showthread.php?tid=723&highlight=__WorkflowFunction__

https://discussions.corebos.org/showthread.php?tid=517&highlight=__WorkflowFunction__

I tried that in the body of the email and had to add some code to get it working. Update your install and try with something like:

$(general : (__WorkflowFunction__) getFromContext('myvar') )   
It is imperative that a response be provided to my helpful answer as quickly as is humanly possible. ;-)

let us know how it goes
@wardwinning
Just to make it clear, we can't drop in here and demand answers in any fashion. No one is payed to give assistance although almost all the issues are addressed as time permits. Also when you describe the problem it is expected that you already read the wiki and checked the forum for similar issues, you describe what you already tried if applicable then and post your inquiry politely without demands then wait to see if anybody answers. If you find the solution you post it so we can all learn from it, or at least confirm/infirm the solution that was proposed. And that is how open-source forums are supposed work.
If you really need a solution fast or want to demand some things you should contact the developers and ask for a price for your demands in the end you are most likely making money out of it, it is not a game, so it is normal if you need professional help(as in with defined time-frame and specifications) you should address as such as with any other commercial software and ask for professional payed help.
An open-source project gives you the right to use it as you please but nobody is compelled to give free professional help, it is done voluntary at everybody's will. And with that attitude I'm surprised that Joe even responded Wink
thanks @radu
I tried it. Thank you!