내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Workflow instance variables!

Avatar

Level 2

Hi,

Using an enrichment, I'm creating a custom instance variable in a workflow. As shown below.

1580754_pastedImage_1.png

However, the issue is that this field defaults to a string. I need it as a number. How can I change the data type to be a number?

Thanks,

Rob

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 10

You need to convert it using ToInteger()

Try

or in the next activity

ToInteger(@difference)

원본 게시물의 솔루션 보기

3 답변 개

Avatar

정확한 답변 작성자:
Level 10

You need to convert it using ToInteger()

Try

or in the next activity

ToInteger(@difference)

Avatar

Level 2

Thank you!

Avatar

Level 10

Sorry just thought I should Update as I noticed an error.

ToInteger($(instance/vars/@difference)) correct

$(ToInteger(instance/vars/@difference)) wrong