How to get the result string of last executed step?

  • Автор темы Автор темы BlackSun
  • Дата начала Дата начала

BlackSun

Client
Регистрация
24.01.2011
Сообщения
119
Реакции
3
Баллы
0
I know that we can grab the result string of any executed step using this macro: {-FieldData.FieldData-|-stepID-|-branchID-}

To make it easier to write more portable code, it would very useful if there was a way to grab the result string from the last executed step, without having to name the step explicitly.

How to get the result string of last executed step?

Thanks!
 
Taking the result of the branch in the usual way does not fit?
 

Вложения

  • результат.png
    результат.png
    45,4 KB · Просмотры: 710
Taking the result of the branch in the usual way does not fit?

For many situations the usual way works very well.

But lets say you have a complex macro or javascript that you'd like to use in many places in the template. Is there a way to retrieve the result of the last executed step so that its not necessary to repeat the same complex macro many times?

For example several branches might lead to a common step, but the processing is dependent on the output of the preceding step, the incoming link.

commonstep.jpg
 
Thanks step85, that is a solution I have considered but there is always the risk of one thread overwriting the value set by a different thread.

If new macro were available that could access the result of the last execution step, that would be very useful.

Thanks.
 
I think that worth adding, nice suggestion. Maybe not as a macro, but as an option in branch.
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)