2017-03-07 92 views

回答

2

GREL还没有random功能,但你可以使用Python/Jython的,而不是:

import random 

# return a random integer between 0 and 1000 
return value + str(random.randint(0, 1000)) + ".html" 

实施例:

enter image description here

+0

由于@ostephens在twitter共享一个类似的解决方案同时: 进口随机 回报random.randint(1,9) 来源:https://twitter.com/hauschke/status/839110740795666433 –

+1

欧文是我知道开瑞风最佳的用户,我很高兴这次能够更快。 ^^ –