cancel
Showing results for 
Search instead for 
Did you mean: 

Issues regarding workitem text

Former Member
0 Kudos

HI All,

I see the Workitem text mismatches when compared to Workitem lying in SBWP and the email send to ms outlook and also surprisingly when compared to SBWP and SOST I see the same mismatch.Can some one help me in finding the issue and also the first line of the email is the subject or title and from second line my custom workitem text follows I want to start the custom workitemtext from third line.I want a line gap in between the subject and the custom workitem text.

Issue ) For example I am a calling text element ZXXXX created in so10 in workitem text .

ZXXXX = This Workflow was started by &INITIATOR& on &ACT_DATE& at &ACT_TIME&.

Note: &INITIATOR& , &ACT_DATE& and &ACT_TIME& are the variables created in the custom Decission task.

Below is the code I have written in workitem text choosing command line option.

INCLUDE 'ZXXXX' OBJECT 'TEXT' ID 'ST' LANGUAGE 'EN' .

Output : 'This workflow was started by on at.

Please let me know the solution to fix this.

Thanks and Regards,

Srini..

--

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

ZXXXX = This Workflow was started by &INITIATOR& on &ACT_DATE& at &ACT_TIME&.

&INITIATOR&, &ACT_DATE& and &ACT_TIME& are the variable is known in standard text element i.e. in tcode SO10. This variable may not known to workflow. Hence I would request you to follow the specific.

Declare the text element ZXXXX only upto value 'This Workflow was started by'.

ZXXXX = 'This Workflow was started by'

and use this workitem text as

Workitem text = ZXXXX by &_WI_INITATOR& on &ACT_DATE& at &ACT_TIME&.

&_WI_INITATOR&, &ACT_DATE& and &ACT_TIME& are the variables of workflow container i.e. workflow container element.

Thanks

Sanjay

Former Member
0 Kudos

Hi Sanjay,

&INITIATOR& is my local element.In other words WI_INITIATOR and INITIATOR values are different,

Thanks and REgards,

Srini..

Former Member
0 Kudos

Hi,

In that case I would request you to transfer all the required data to Workflow container and use it in workitem text.

Thanks

Sanjay

Answers (0)